From: Michael Stapelberg Date: Fri, 21 Oct 2011 17:59:59 +0000 (+0100) Subject: i3bar: document -b in --help (Thanks mxf) X-Git-Tag: 4.1~92^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cf67966fa0924ff874f90c29e688811fb2ec725a;p=i3%2Fi3 i3bar: document -b in --help (Thanks mxf) --- 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"); } /*