[dev] [vis] [PATCH] Add '--' as end of options.

From: Matias Linares <matiaslina_AT_openmailbox.org>
Date: Sun, 3 May 2015 20:32:39 -0300

From: Matias Linares <matiaslina_AT_opmbx.org>

Some programs (like ranger) expect the editor to have this feature.
---
 vis.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/vis.c b/vis.c
index 051f256..6f44a56 100644
--- a/vis.c
+++ b/vis.c
_AT_@ -2034,6 +2034,8 @@ int main(int argc, char *argv[]) {
 				break;
 			case '\0':
 				break;
+			case '-':
+				break;
 			default:
 				die("Unknown command option: %s\n", argv[i]);
 				break;
-- 
2.3.7
Received on Mon May 04 2015 - 01:32:39 CEST

This archive was generated by hypermail 2.3.0 : Mon May 04 2015 - 01:36:08 CEST