commit 8a7111db81df3c80dfc62928de75a976898c708f parent cbb9be6dddfe7f5fa1d9f251707564f01288c121 Author: Claudio Alessi <smoppy@gmail.com> Date: Thu, 31 Mar 2016 11:31:23 +0200 Handle wrong command line switch. Diffstat:
M | myadm.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/myadm.c b/myadm.c @@ -780,6 +780,8 @@ main(int argc, char **argv) { break; case 'v': die("%s " VERSION " (c) 2016 Claudio Alessi\n", argv0); + default: + usage(); } ARGEND; setup();