i3bar: Update manpage/help with options

This commit is contained in:
Orestis Floros 2021-01-03 10:03:39 +01:00
parent 057a635279
commit fb5d2a05c2
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3
2 changed files with 10 additions and 4 deletions

View File

@ -56,7 +56,7 @@ static char *expand_path(char *path) {
}
static void print_usage(char *elf_name) {
printf("Usage: %s -b bar_id [-s sock_path] [-t] [-h] [-v]\n", elf_name);
printf("Usage: %s -b bar_id [-s sock_path] [-t] [-h] [-v] [-V]\n", elf_name);
printf("\n");
printf("-b, --bar_id <bar_id>\tBar ID for which to get the configuration\n");
printf("-s, --socket <sock_path>\tConnect to i3 via <sock_path>\n");

View File

@ -9,7 +9,7 @@ i3bar - xcb-based status- and workspace-bar
== SYNOPSIS
*i3bar* [*-s* 'sock_path'] [*-b* 'bar_id'] [*-v*] [*-h*]
*i3bar* *-b* 'bar_id' [*-s* 'sock_path'] [*-t*] [*-h*] [*-v*] [*-V*]
== WARNING
@ -27,12 +27,18 @@ Overwrites the path to the i3 IPC socket.
*-b, --bar_id* 'bar_id'::
Specifies the bar ID for which to get the configuration from i3.
*-v, --version*::
Display version number and exit.
*-t, --transparency*::
Enable transparency (RGBA colors)
*-h, --help*::
Display a short help-message and exit
*-v, --version*::
Display version number and exit.
*-V*::
Be verbose.
== DESCRIPTION
*i3bar* displays a bar at the bottom (or top) of your monitor(s) containing