]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: timeout --help: mention 0 DURATION disables timeout
authorPádraig Brady <P@draigBrady.com>
Thu, 19 Apr 2018 03:08:12 +0000 (20:08 -0700)
committerPádraig Brady <P@draigBrady.com>
Thu, 19 Apr 2018 03:11:23 +0000 (20:11 -0700)
* 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.

src/timeout.c

index 90d7c43754060c33d50d19e1fc2a1616ef0d3da9..98c064a18d54e64e151d8340b8151f9b00240885 100644 (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\