commit d301322cf28d94b8a90afe747dde9b1e0f1a3821
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri Jan 27 00:41:50 2017 +0100
Commit: Evan Gates <evan.gates_AT_gmail.com>
CommitDate: Tue Jan 31 10:27:59 2017 -0800
getconf: fail if any other flag than -v is used
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/getconf.c b/getconf.c
index e611659..d927f2d 100644
--- a/getconf.c
+++ b/getconf.c
_AT_@ -33,6 +33,9 @@ main(int argc, char *argv[])
/* ignore */
EARGF(usage());
break;
+ default:
+ usage();
+ break;
} ARGEND
if (argc == 1) {
Received on Tue Jan 31 2017 - 19:33:00 CET
This archive was generated by hypermail 2.3.0
: Tue Jan 31 2017 - 19:36:29 CET