coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: timeout --help: mention 0 DURATION disables timeout


From: Pádraig Brady
Subject: [PATCH] doc: timeout --help: mention 0 DURATION disables timeout
Date: Wed, 18 Apr 2018 20:11:30 -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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/timeout.c b/src/timeout.c
index 90d7c43..98c064a 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\
-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]