reintroduced -v
This one was forgotten in the rewrite of the option parsing
This commit is contained in:
parent
57ba1d5ffe
commit
a61e8ebada
5
dunst.c
5
dunst.c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user