commit | d301322cf28d94b8a90afe747dde9b1e0f1a3821 | [log] [tgz] |
---|---|---|
author | Mattias Andrée <maandree@kth.se> | Fri Jan 27 00:41:50 2017 +0100 |
committer | Evan Gates <evan.gates@gmail.com> | Tue Jan 31 10:27:59 2017 -0800 |
tree | 3add1143b8bf20c3729f09e616ec93eef6b02e8a | |
parent | 9ab1478f1eb6a9a355d394af3c0cfa69850245fe [diff] |
getconf: fail if any other flag than -v is used Signed-off-by: Mattias Andrée <maandree@kth.se>
diff --git a/getconf.c b/getconf.c index e611659..d927f2d 100644 --- a/getconf.c +++ b/getconf.c
@@ -33,6 +33,9 @@ /* ignore */ EARGF(usage()); break; + default: + usage(); + break; } ARGEND if (argc == 1) {