]> git.sur5r.net Git - i3/i3/commitdiff
i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem)
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 27 Jun 2013 22:14:09 +0000 (00:14 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 27 Jun 2013 22:14:09 +0000 (00:14 +0200)
i3-nagbar/main.c

index 2243aa7265b9c869d3ce64b640a2f67f96ce8595..6ca80ba5babfaf6f80bde744c954caca2a765bdf 100644 (file)
@@ -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}
     };