From 65dc24abac73f21b9bf495a1e6fe5eec0b2414a7 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 19 Jun 2019 12:55:02 +0200 Subject: [PATCH] script: make --help more readable Signed-off-by: Karel Zak --- term-utils/script.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/term-utils/script.c b/term-utils/script.c index 59e328170..91d24eb12 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));