From cb516c2df3f5877568c78ff0c0a246187ee5fda9 Mon Sep 17 00:00:00 2001 From: Murray Fordyce Date: Sat, 11 Jun 2022 13:24:14 -0500 Subject: [PATCH] Update help information (#485) --- i3status.c | 2 +- man/i3status.man | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/i3status.c b/i3status.c index 437144f..88fb90e 100644 --- a/i3status.c +++ b/i3status.c @@ -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 ] [-h] [-v]\n", + "Syntax: %s [-c ] [-h] [-v] [--run-once]\n", argv[0]); return 0; break; diff --git a/man/i3status.man b/man/i3status.man index a9d7a02..36e1a6e 100644 --- a/man/i3status.man +++ b/man/i3status.man @@ -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,