i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem)

This commit is contained in:
Michael Stapelberg 2013-06-28 00:14:09 +02:00
parent aa8d9214a6
commit 4765427f21
1 changed files with 1 additions and 1 deletions

View File

@ -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}
}; };