From 4765427f219c306f0872f124d0b1e2398bf8e39f Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 28 Jun 2013 00:14:09 +0200 Subject: [PATCH] i3-nagbar: Bugfix: -m requires an argument (crashes if none specified) (Thanks Mayhem) --- i3-nagbar/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }; -- 2.39.5