Revised usage message.

This commit is contained in:
shy 2021-04-19 13:03:28 +02:00
parent cafa1ff71e
commit 2b0374d45b
2 changed files with 10 additions and 10 deletions

View file

@ -19,15 +19,15 @@ interactively.
label. label.
OPTIONS: OPTIONS:
-h, --help Show this help. -h, --help Show this usage message.
-v, --version Show version information. -v, --version Show version information.
-e, --exec [COMMAND] Execute COMMAND on alarm. Occurrences of {t} will -e, --exec [COMMAND] Execute COMMAND on alarm. My be given multiple
be replaced by the alarm time in (HH:)MM:SS format. times. Occurrences of {l} will be replaced by the
Occurrences of {l} by alarm label. alarm label, {t} by alarm time in (HH:)MM:SS format.
-p, --plain Use simpler block chars to draw the clock. -p, --plain Use simpler block chars to draw the clock.
-f, --fancy Make use of less common unicode characters. -f, --fancy Make use of less common unicode characters.
-q, --quit Quit program after last alarm. -q, --quit Quit program after last alarm.
SIGNALS: <SIGUSR1> Reset clock. SIGNALS: <SIGUSR1> Reset clock.
<SIGUSR2> Pause or un-pause clock. <SIGUSR2> Pause or continue.

View file

@ -40,17 +40,17 @@ PARAMETERS:
label. label.
OPTIONS: OPTIONS:
-h, --help Show this help. -h, --help Show this usage message.
-v, --version Show version information. -v, --version Show version information.
-e, --exec [COMMAND] Execute COMMAND on alarm. Occurrences of {t} will -e, --exec [COMMAND] Execute COMMAND on alarm. My be given multiple
be replaced by the alarm time in (HH:)MM:SS format. times. Occurrences of {l} will be replaced by the
Occurrences of {l} by alarm label. alarm label, {t} by alarm time in (HH:)MM:SS format.
-p, --plain Use simpler block chars to draw the clock. -p, --plain Use simpler block chars to draw the clock.
-f, --fancy Make use of less common unicode characters. -f, --fancy Make use of less common unicode characters.
-q, --quit Quit program after last alarm. -q, --quit Quit program after last alarm.
SIGNALS: <SIGUSR1> Reset clock. SIGNALS: <SIGUSR1> Reset clock.
<SIGUSR2> Pause or un-pause clock." <SIGUSR2> Pause or continue."
); );
pub const MENUBAR: &str = pub const MENUBAR: &str =
"[0-9] Add alarm [d] Delete alarm [SPACE] Pause [r] Reset [c] Clear color [q] Quit"; "[0-9] Add alarm [d] Delete alarm [SPACE] Pause [r] Reset [c] Clear color [q] Quit";