]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: clarify timeout --foreground description
authorPádraig Brady <P@draigBrady.com>
Wed, 12 Aug 2020 17:40:04 +0000 (18:40 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 12 Aug 2020 17:40:17 +0000 (18:40 +0100)
* doc/coreutils.texi (timeout invocation): Avoid any implication
that `timeout --foreground` could be used to retroactively
timeout commands not already invoked by timeout(1).
Fixes bug https://bugs.gnu.org/42831

doc/coreutils.texi

index 52d4cfcbec9e6130a49ae8d4383176dd7dfd1d9c..a55514d594c516ae8d9cdf0ff26bbb5e39915b36 100644 (file)
@@ -18077,8 +18077,8 @@ managed @var{command} supports running for an indeterminate amount of time.
 @opindex --foreground
 Don't create a separate background program group, so that
 the managed @var{command} can use the foreground TTY normally.
-This is needed to support timing out commands not started
-directly from an interactive shell, in two situations.
+This is needed to support two situations when timing out commands,
+when not invoking @command{timeout} from an interactive shell.
 @enumerate
 @item
 @var{command} is interactive and needs to read from the terminal for example