Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
i3bar: Update manpage/help with options
Browse files Browse the repository at this point in the history
  • Loading branch information
orestisfl committed Jan 3, 2021
1 parent 057a635 commit fb5d2a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion i3bar/src/main.c
Expand Up @@ -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");
Expand Down
12 changes: 9 additions & 3 deletions man/i3bar.man
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit fb5d2a0

Please sign in to comment.