mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-03 23:13:50 +08:00
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:
parent
e6017741e9
commit
3968f28dfd
@ -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\
|
||||
|
Loading…
Reference in New Issue
Block a user