diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 8d050c2e8..d3239a567 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -13201,6 +13201,32 @@ them. @opindex --ignore-interrupts Ignore interrupt signals. +@item -p +@itemx --write-error[=@var{mode}] +@opindex -p +@opindex --write-error +Select the behavior with write errors on the outputs, +where @var{mode} is one of the following: + +@table @samp +@item warn +Warn on error writing any output, including pipes. +Writing is continued to still open files/pipes. +Exit status indicates failure if any output has an error. + +@item warn-nopipe +Warn on error writing any output, except pipes. +Writing is continued to still open files/pipes. +Exit status indicates failure if any non pipe output had an error. +This is the default @var{mode} when not specified. + +@item exit +Exit on error writing any output, including pipes. + +@item exit-nopipe +Exit on error writing any output, except pipes. +@end table + @end table The @command{tee} command is useful when you happen to be transferring a large |