From: Karel Zak Date: Wed, 19 Jun 2019 10:55:02 +0000 (+0200) Subject: script: make --help more readable X-Git-Tag: v2.35-rc1~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=65dc24abac73f21b9bf495a1e6fe5eec0b2414a7;p=thirdparty%2Futil-linux.git script: make --help more readable Signed-off-by: Karel Zak --- diff --git a/term-utils/script.c b/term-utils/script.c index 59e328170d..91d24eb125 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -204,15 +204,19 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -I, --log-in log stdin to file\n"), out); fputs(_(" -O, --log-out log stdout to file (default)\n"), out); fputs(_(" -B, --log-io log stdin and stdout to file\n"), out); + fputs(USAGE_SEPARATOR, out); + fputs(_(" -T, --log-timing log timing information to file\n"), out); - fputs(_(" -a, --append append the output\n"), out); + fputs(_(" -t[], --timing[=] 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 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[=] deprecated alias to -T (default file is stderr)\n"), out); fputs(USAGE_SEPARATOR, out); printf(USAGE_HELP_OPTIONS(31));