From: Benno Schulenberg Date: Mon, 24 Feb 2025 13:08:35 +0000 (+0100) Subject: scriptreplay: indicate that is conditional on X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2c323bc41dd276bc0678a06b77cceca52a2ec1d;p=thirdparty%2Futil-linux.git scriptreplay: indicate that is conditional on Also, use angle brackets to show that those words are placeholders, not literals, and improve the descriptions of the key bindings. Signed-off-by: Benno Schulenberg --- diff --git a/term-utils/scriptreplay.c b/term-utils/scriptreplay.c index c8a1ad0c4..0e1444ca1 100644 --- a/term-utils/scriptreplay.c +++ b/term-utils/scriptreplay.c @@ -50,7 +50,7 @@ usage(void) _(" %s [options]\n"), program_invocation_short_name); fprintf(out, - _(" %s [-t] timingfile [typescript] [divisor]\n"), + _(" %s [-t] [ []]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); @@ -75,9 +75,9 @@ usage(void) fputs(USAGE_SEPARATOR, out); fputs(_("Key bindings:\n"), out); - fputs(_(" space toggles pause and unpause\n"), out); - fputs(_(" up-arrow increases the playback speed by 0.1 times\n"), out); - fputs(_(" down-arrow decreases the playback speed by 0.1 times\n"), out); + fputs(_(" space toggles between pause and play\n"), out); + fputs(_(" up-arrow increases the time divisor with 0.1\n"), out); + fputs(_(" down-arrow decreases the time divisor with 0.1\n"), out); fprintf(out, USAGE_MAN_TAIL("scriptreplay(1)")); exit(EXIT_SUCCESS);