[PATCH 1/6] scriptreplay: indicate that <divisor> is conditional on <typescript>

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
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 <[email protected]>
---
 term-utils/scriptreplay.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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] <timingfile> [<typescript> [<divisor>]]\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);
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.