diff options
-rw-r--r-- | listbas.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,12 +27,13 @@ void print_help(void) { void parse_args(int argc, char **argv) { int opt; - while( (opt = getopt(argc, argv, "viam")) != -1) { + while( (opt = getopt(argc, argv, "viamh")) != -1) { switch(opt) { case 'v': verbose = 1; break; case 'i': immediate = 1; break; case 'a': a8cat = magazine = 0; break; case 'm': a8cat = magazine = 1; break; + case 'h': print_help(); exit(0); default: print_help(); exit(1); |