i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem)
This commit is contained in:
parent
aa8d9214a6
commit
4765427f21
|
@ -307,7 +307,7 @@ int main(int argc, char *argv[]) {
|
||||||
{"font", required_argument, 0, 'f'},
|
{"font", required_argument, 0, 'f'},
|
||||||
{"button", required_argument, 0, 'b'},
|
{"button", required_argument, 0, 'b'},
|
||||||
{"help", no_argument, 0, 'h'},
|
{"help", no_argument, 0, 'h'},
|
||||||
{"message", no_argument, 0, 'm'},
|
{"message", required_argument, 0, 'm'},
|
||||||
{"type", required_argument, 0, 't'},
|
{"type", required_argument, 0, 't'},
|
||||||
{0, 0, 0, 0}
|
{0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue