commit c5a6b2a07e7188d49260df56494b53d592f7764f
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Wed Oct 18 19:04:54 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Wed Oct 18 19:04:54 2017 +0200
Fix error in arg.h
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/src/arg.h b/src/arg.h
index 5285d92..0c2e23c 100644
--- a/src/arg.h
+++ b/src/arg.h
_AT_@ -10,7 +10,7 @@ extern char *argv0;
/* use main(int argc, char *argv[]) */
#define ARGBEGIN for (argv0 = *argv, argv++, argc--;\
- argv[0] && argv[0][1];\
+ argv[0] && argv[0][0] == '-' && argv[0][1];\
argc--, argv++) {\
char argc_;\
char **argv_;\
Received on Wed Oct 18 2017 - 19:05:07 CEST
This archive was generated by hypermail 2.3.0
: Wed Oct 18 2017 - 19:12:24 CEST