summaryrefslogtreecommitdiffstats
path: root/term-utils/script.c
diff options
context:
space:
mode:
authorAntonio Ospite2017-07-18 14:29:07 +0200
committerKarel Zak2017-07-18 14:29:07 +0200
commit3cf274c9e99ed64c096b0032cc021f79c4fa5568 (patch)
treedb0cd4392c7a0b98f503c198b7dba86cde1fad99 /term-utils/script.c
parentsetpriv: support setting unnamed capabilities (diff)
downloadkernel-qcow2-util-linux-3cf274c9e99ed64c096b0032cc021f79c4fa5568.tar.gz
kernel-qcow2-util-linux-3cf274c9e99ed64c096b0032cc021f79c4fa5568.tar.xz
kernel-qcow2-util-linux-3cf274c9e99ed64c096b0032cc021f79c4fa5568.zip
script: fix ambiguity about the optional argument of the -t option
[kzak@redhat.com: - merge two patches from Antonio to the one, - update the patch] Signed-off-by: Karel Zak <kzak@redhat.com> Signed-off-by: Antonio Ospite <ao2@ao2.it>
Diffstat (limited to 'term-utils/script.c')
-rw-r--r--term-utils/script.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/term-utils/script.c b/term-utils/script.c
index 814ee4961..ffc7017b9 100644
--- a/term-utils/script.c
+++ b/term-utils/script.c
@@ -164,15 +164,15 @@ 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"
- " -q, --quiet be quiet\n"
- " -t, --timing[=<file>] output timing data to stderr (or to FILE)\n"
+ 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"
+ " -q, --quiet be quiet\n"
+ " -t[<file>], --timing[=<file>] output timing data to stderr or to FILE\n"
), out);
- printf(USAGE_HELP_OPTIONS(25));
+ printf(USAGE_HELP_OPTIONS(31));
printf(USAGE_MAN_TAIL("script(1)"));
exit(EXIT_SUCCESS);