diff --git a/i3bar/src/main.c b/i3bar/src/main.c index ea489941..ea84ca44 100644 --- a/i3bar/src/main.c +++ b/i3bar/src/main.c @@ -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 \tBar ID for which to get the configuration\n"); printf("-s \tConnect to i3 via \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"); } /*