diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -71,7 +71,7 @@ Usage(void) (void) fprintf (stderr, "\t[-cdt <#secs>] [-pmport <port#>] [-config <path>]\\\n"); (void) fprintf (stderr, - "\t[-logfile <path>] [-loglevel <0|1>] [-verify]\n"); + "\t[-logfile <path>] [-loglevel <0|1>] [-verify] [-version]\n"); exit (0); } @@ -1344,6 +1344,11 @@ doProcessInputArgs ( } config_info->log_level = atoi(argv[arg_counter + 1]); } + else if (!strcmp("-version", argv[arg_counter])) + { + puts(PACKAGE_STRING); + exit(0); + } else { fprintf(stderr, "%s: Unrecognized command line argument '%s'\n", |