]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
scriptreplay: indicate that <divisor> is conditional on <typescript>
authorBenno Schulenberg <bensberg@telfort.nl>
Mon, 24 Feb 2025 13:08:35 +0000 (14:08 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 25 Feb 2025 07:50:57 +0000 (08:50 +0100)
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 <bensberg@telfort.nl>
term-utils/scriptreplay.c

index c8a1ad0c4dd674c034e896ef3a98afa84dac9595..0e1444ca1d8754223fe7a4a156903c516e8b5087 100644 (file)
@@ -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);