From f292fda9dbdae554a69dd484b6e4dff9cef9e6a3 Mon Sep 17 00:00:00 2001 From: sabetts Date: Fri, 15 Sep 2000 04:57:06 +0000 Subject: now quits when it receives an invalid command line option. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 39856f7..1655d2a 100644 --- a/src/main.c +++ b/src/main.c @@ -151,6 +151,8 @@ main (int argc, char *argv[]) case 'v': print_version (); break; + default: + exit (EXIT_FAILURE); } } -- cgit v1.2.3