From 3968f28dfd68406ed9df7e4d80705a10f5128112 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 18 Apr 2018 20:08:12 -0700 Subject: [PATCH] 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. --- src/timeout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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\ -- 2.47.2