diff options
Diffstat (limited to 'src/opts.c')
| -rw-r--r-- | src/opts.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ #include <stdlib.h> #include "unalf.h" -#define OPTIONS "aeklLopqtvd:x:" +#define OPTIONS "aeklLopqtvVd:x:" /* uncomment to test exclude/include glob lists */ // #define DEBUG_GLOBS @@ -43,6 +43,7 @@ void parse_opts(int argc, char * const *argv) { case 'q': opts.quiet++; break; case 't': opts.testonly++; opts.listonly = 0; break; case 'v': opts.listonly = 1; opts.testonly = 0; opts.verbose_list++; break; + case 'V': puts(VERSION); exit(0); break; case 'd': opts.outdir = optarg; break; case 'x': add_exclude(optarg); break; default: |
