diff options
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -670,6 +670,7 @@ Usage(void) " [-D<debug-level>]\n" " [-I] -- start in interactive mode\n" " [-S<n>] -- start/stop on SIGUSR1\n" + " [-V] -- output version information and exit\n" " [-t] -- terminate when all clients close\n"); exit(1); } @@ -727,6 +728,10 @@ ScanArgs(int argc, char **argv) ScopeEnabled = atoi(++*argv); break; + case 'V': /* print version & exit */ + printf("%s\n", PACKAGE_STRING); + exit(0); + case 'q': /* quiet mode */ XVerbose = 0; debug(1, (stderr, "Verbose = %d\n", XVerbose)); |