i3-nagbar: Fix -h / --help output (Thanks ktosiek)

next
Michael Stapelberg 2011-07-14 13:26:59 +02:00
parent 8c1a242f5f
commit 6b4c65e04d
1 changed files with 2 additions and 2 deletions

View 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));