]> git.sur5r.net Git - i3/i3/commitdiff
i3-nagbar: Fix -h / --help output (Thanks ktosiek)
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 14 Jul 2011 11:26:59 +0000 (13:26 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 14 Jul 2011 11:26:59 +0000 (13:26 +0200)
i3-nagbar/main.c

index 757a6cac79a8c5c79fa535f33e877f2018be640e..fc2cc85879d3a6b52fb65d4d570061150155a64a 100644 (file)
@@ -243,8 +243,8 @@ int main(int argc, char *argv[]) {
                 prompt = strdup(optarg);
                 break;
             case 'h':
-                printf("i3-nagbar " I3_VERSION);
-                printf("i3-nagbar [-s <socket>] [-p <prefix>] [-l <limit>] [-P <prompt>] [-f <font>] [-v]\n");
+                printf("i3-nagbar " I3_VERSION "\n");
+                printf("i3-nagbar [-m <message>] [-b <button> <action>] [-f <font>] [-v]\n");
                 return 0;
             case 'b':
                 buttons = realloc(buttons, sizeof(button_t) * (buttoncnt + 1));