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

Signed-off-by: Mattias Andrée <maandree@kth.se>
This commit is contained in:
Mattias Andrée 2017-01-27 00:41:50 +01:00 committed by Evan Gates
parent 9ab1478f1e
commit d301322cf2
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ main(int argc, char *argv[])
/* ignore */
EARGF(usage());
break;
default:
usage();
break;
} ARGEND
if (argc == 1) {