doc: timeout --help: mention 0 DURATION disables timeout

* src/timeout.c (usage): Mention that a duration of 0 disables
the associated timeout, which is both concise info and useful
functionality as timeouts are frequently configured.
This commit is contained in:
Pádraig Brady 2018-04-18 20:08:12 -07:00
parent e6017741e9
commit 3968f28dfd

View File

@ -265,8 +265,8 @@ Start COMMAND, and kill it if still running after DURATION.\n\
fputs (_("\n\
DURATION is a floating point number with an optional suffix:\n\
's' for seconds (the default), 'm' for minutes, 'h' for hours \
or 'd' for days.\n"), stdout);
's' for seconds (the default), 'm' for minutes, 'h' for hours or \
'd' for days.\nA duration of 0 disables the associated timeout.\n"), stdout);
fputs (_("\n\
If the command times out, and --preserve-status is not set, then exit with\n\