From: Karel Zak Date: Fri, 12 Apr 2019 09:53:29 +0000 (+0200) Subject: script: cleanup usage X-Git-Tag: v2.35-rc1~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c64963f87c8ac4cd16a6109e48bb430eafa85d11;p=thirdparty%2Futil-linux.git script: cleanup usage Signed-off-by: Karel Zak --- diff --git a/term-utils/script.c b/term-utils/script.c index 56cc71951e..28e8de36eb 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -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 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 terminate if output files exceed size\n" - " -q, --quiet be quiet\n" - " -t[], --timing[=] 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 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 terminate if output files exceed size\n"), out); + fputs(_(" -q, --quiet be quiet\n"), out); + fputs(_(" -t[], --timing[=] 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); }