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

View File

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