]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
more: improve help readability
authorKarel Zak <kzak@redhat.com>
Thu, 27 Mar 2025 09:58:24 +0000 (10:58 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 27 Mar 2025 09:58:24 +0000 (10:58 +0100)
The internal help can be printed within the current content. In this
case, it's hard to see where the help starts. Add a separator to make
it easier to read.

Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/more.c

index a035591af306bb86e71c93a618e15f82b326b7a6..92b257046b03b260df141a74100630650d60188f 100644 (file)
@@ -1545,6 +1545,7 @@ static char *find_editor(void)
 
 static void runtime_usage(void)
 {
+       print_separator('-', 79);
        fputs(_("Most commands optionally preceded by integer argument k.  "
                "Defaults in brackets.\n"
                "Star (*) indicates argument becomes new default.\n"), stdout);