sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit d301322cf28d94b8a90afe747dde9b1e0f1a3821
parent 9ab1478f1eb6a9a355d394af3c0cfa69850245fe
Author: Mattias Andrée <maandree@kth.se>
Date:   Fri Jan 27 00:41:50 +0100

getconf: fail if any other flag than -v is used

Signed-off-by: Mattias Andrée <maandree@kth.se>

Diffstat:
getconf.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/getconf.c b/getconf.c @@ -33,6 +33,9 @@ main(int argc, char *argv[]) /* ignore */ EARGF(usage()); break; + default: + usage(); + break; } ARGEND if (argc == 1) {