From: Pádraig Brady Date: Thu, 19 Apr 2018 03:08:12 +0000 (-0700) Subject: doc: timeout --help: mention 0 DURATION disables timeout X-Git-Tag: v8.30~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3968f28dfd68406ed9df7e4d80705a10f5128112;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/timeout.c b/src/timeout.c index 90d7c43754..98c064a18d 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -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\