]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
script: make --help more readable
authorKarel Zak <kzak@redhat.com>
Wed, 19 Jun 2019 10:55:02 +0000 (12:55 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2019 11:11:53 +0000 (13:11 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.c

index 59e328170d8faf99cd65ba1c84b6d932a11960cc..91d24eb12517917a8c4e0ed66cfc76d00ae24aa2 100644 (file)
@@ -204,15 +204,19 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -I, --log-in <file>           log stdin to file\n"), out);
        fputs(_(" -O, --log-out <file>          log stdout to file (default)\n"), out);
        fputs(_(" -B, --log-io <file>           log stdin and stdout to file\n"), out);
+       fputs(USAGE_SEPARATOR, out);
+
        fputs(_(" -T, --log-timing <file>       log timing information to file\n"), out);
-       fputs(_(" -a, --append                  append the output\n"), out);
+       fputs(_(" -t[<file>], --timing[=<file>] deprecated alias to -T (default file is stderr)\n"), out);
+       fputs(USAGE_SEPARATOR, out);
+
+       fputs(_(" -a, --append                  append to the log file\n"), out);
        fputs(_(" -c, --command <command>       run command rather than interactive shell\n"), out);
        fputs(_(" -e, --return                  return exit code of the child process\n"), out);
        fputs(_(" -f, --flush                   run flush after each write\n"), out);
        fputs(_("     --force                   use output file even when it is a link\n"), out);
        fputs(_(" -o, --output-limit <size>     terminate if output files exceed size\n"), out);
        fputs(_(" -q, --quiet                   be quiet\n"), out);
-       fputs(_(" -t[<file>], --timing[=<file>] deprecated alias to -T (default file is stderr)\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
        printf(USAGE_HELP_OPTIONS(31));