From cf67966fa0924ff874f90c29e688811fb2ec725a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 21 Oct 2011 18:59:59 +0100 Subject: [PATCH] i3bar: document -b in --help (Thanks mxf) --- i3bar/src/main.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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"); } /* -- 2.39.5