Update help information (#485)

This commit is contained in:
Murray Fordyce 2022-06-11 13:24:14 -05:00 committed by GitHub
parent 6094acde02
commit cb516c2df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -511,7 +511,7 @@ int main(int argc, char *argv[]) {
break;
case 'h':
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]);
return 0;
break;

View File

@ -9,11 +9,11 @@ i3status - Generates a status line for i3bar, dzen2, xmobar or lemonbar
== SYNOPSIS
i3status [-c configfile] [-h] [-v]
i3status [-c configfile] [-h] [-v] [--run-once]
== OPTIONS
-c::
-c --config::
Specifies an alternate configuration file path. By default, i3status looks for
configuration files in the following order:
@ -22,6 +22,16 @@ configuration files in the following order:
3. ~/.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
i3status is a small program for generating a status bar for i3bar, dzen2,