From: Michael Stapelberg Date: Thu, 27 Jun 2013 22:14:09 +0000 (+0200) Subject: i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem) X-Git-Tag: 4.6~14^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4765427f219c306f0872f124d0b1e2398bf8e39f;p=i3%2Fi3 i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem) --- diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index 2243aa72..6ca80ba5 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -307,7 +307,7 @@ int main(int argc, char *argv[]) { {"font", required_argument, 0, 'f'}, {"button", required_argument, 0, 'b'}, {"help", no_argument, 0, 'h'}, - {"message", no_argument, 0, 'm'}, + {"message", required_argument, 0, 'm'}, {"type", required_argument, 0, 't'}, {0, 0, 0, 0} };