]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
script: cleanup usage
authorKarel Zak <kzak@redhat.com>
Fri, 12 Apr 2019 09:53:29 +0000 (11:53 +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 56cc71951ecb85bb30787bf89dd83d832d75135e..28e8de36eb569d44d4b42fec8205c98040fb3b4e 100644 (file)
@@ -188,18 +188,19 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Make a typescript of a terminal session.\n"), out);
 
        fputs(USAGE_OPTIONS, out);
-       fputs(_(" -a, --append                  append the output\n"
-               " -c, --command <command>       run command rather than interactive shell\n"
-               " -e, --return                  return exit code of the child process\n"
-               " -f, --flush                   run flush after each write\n"
-               "     --force                   use output file even when it is a link\n"
-               " -o, --output-limit <size>     terminate if output files exceed size\n"
-               " -q, --quiet                   be quiet\n"
-               " -t[<file>], --timing[=<file>] output timing data to stderr or to FILE\n"
-               ), out);
-       printf(USAGE_HELP_OPTIONS(31));
+       fputs(_(" -a, --append                  append the output\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>] output timing data to stderr or to FILE\n"), out);
 
+       fputs(USAGE_SEPARATOR, out);
+       printf(USAGE_HELP_OPTIONS(31));
        printf(USAGE_MAN_TAIL("script(1)"));
+
        exit(EXIT_SUCCESS);
 }