i3bar: document -b in --help (Thanks mxf)

This commit is contained in:
Michael Stapelberg 2011-10-21 18:59:59 +01:00
parent 2647f47ec5
commit cf67966fa0
1 changed files with 8 additions and 1 deletions

View File

@ -41,10 +41,17 @@ char *expand_path(char *path) {
}
void print_usage(char *elf_name) {
printf("Usage: %s [-s sock_path] [-h] [-v]\n", elf_name);
printf("Usage: %s [-b bar_id] [-s sock_path] [-h] [-v]\n", elf_name);
printf("\n");
printf("-b <bar_id>\tBar ID for which to get the configuration\n");
printf("-s <sock_path>\tConnect to i3 via <sock_path>\n");
printf("-h\t\tDisplay this help-message and exit\n");
printf("-v\t\tDisplay version number and exit\n");
printf("\n");
printf(" PLEASE NOTE that i3bar will be automatically started by i3\n"
" as soon as there is a 'bar' configuration block in your\n"
" config file. You should never need to start it manually.\n");
printf("\n");
}
/*