reintroduced -v

This one was forgotten in the rewrite of the option parsing
This commit is contained in:
Sascha Kruse 2011-11-14 20:26:00 +01:00
parent 57ba1d5ffe
commit a61e8ebada

View File

@ -547,7 +547,7 @@ main(int argc, char *argv[]) {
int option_index = 0; int option_index = 0;
c = getopt_long_only(argc, argv, "bh", long_options, &option_index); c = getopt_long_only(argc, argv, "bhv", long_options, &option_index);
if(c == -1) { if(c == -1) {
break; break;
@ -628,6 +628,9 @@ main(int argc, char *argv[]) {
fprintf(stderr, "See manpage for list of available masks\n"); fprintf(stderr, "See manpage for list of available masks\n");
} }
break; break;
case 'v':
verbose = True;
break;
default: default:
usage(EXIT_FAILURE); usage(EXIT_FAILURE);
break; break;