Update help information (#485)
This commit is contained in:
parent
6094acde02
commit
cb516c2df3
@ -511,7 +511,7 @@ int main(int argc, char *argv[]) {
|
|||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
printf("i3status " I3STATUS_VERSION " © 2008 Michael Stapelberg and contributors\n"
|
printf("i3status " I3STATUS_VERSION " © 2008 Michael Stapelberg and contributors\n"
|
||||||
"Syntax: %s [-c <configfile>] [-h] [-v]\n",
|
"Syntax: %s [-c <configfile>] [-h] [-v] [--run-once]\n",
|
||||||
argv[0]);
|
argv[0]);
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
|
@ -9,11 +9,11 @@ i3status - Generates a status line for i3bar, dzen2, xmobar or lemonbar
|
|||||||
|
|
||||||
== SYNOPSIS
|
== SYNOPSIS
|
||||||
|
|
||||||
i3status [-c configfile] [-h] [-v]
|
i3status [-c configfile] [-h] [-v] [--run-once]
|
||||||
|
|
||||||
== OPTIONS
|
== OPTIONS
|
||||||
|
|
||||||
-c::
|
-c --config::
|
||||||
Specifies an alternate configuration file path. By default, i3status looks for
|
Specifies an alternate configuration file path. By default, i3status looks for
|
||||||
configuration files in the following order:
|
configuration files in the following order:
|
||||||
|
|
||||||
@ -22,6 +22,16 @@ configuration files in the following order:
|
|||||||
3. ~/.i3status.conf
|
3. ~/.i3status.conf
|
||||||
4. /etc/i3status.conf
|
4. /etc/i3status.conf
|
||||||
|
|
||||||
|
-h --help::
|
||||||
|
Print the verison and a minimal syntax.
|
||||||
|
|
||||||
|
-v --version::
|
||||||
|
Print the version and any build configuration.
|
||||||
|
|
||||||
|
--run-once::
|
||||||
|
Only run once instead of looping.
|
||||||
|
|
||||||
|
|
||||||
== DESCRIPTION
|
== DESCRIPTION
|
||||||
|
|
||||||
i3status is a small program for generating a status bar for i3bar, dzen2,
|
i3status is a small program for generating a status bar for i3bar, dzen2,
|
||||||
|
Loading…
Reference in New Issue
Block a user