summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schier <nicolas@fjasle.eu>2017-12-31 15:26:36 +0100
committerJoey Hess <joeyh@joeyh.name>2017-12-31 11:29:15 -0400
commit6eedaa93d6a1d1430de5238a4101ed8bab0b64c3 (patch)
tree33e27aaeabf4569a87e86a1a0fbdcdc17ea3fe10
parent5083c319d130bbf5ef1a071d178f1f30aa049e58 (diff)
downloadmoreutils-6eedaa93d6a1d1430de5238a4101ed8bab0b64c3.tar.gz
chronic: document return value semantics of -e option (Closes: #867167)
Thanks to Daniel Shahaf. Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>
-rwxr-xr-xchronic3
1 files changed, 3 insertions, 0 deletions
diff --git a/chronic b/chronic
index cb927b3..e24e582 100755
--- a/chronic
+++ b/chronic
@@ -36,6 +36,9 @@ Verbose output (distinguishes between STDOUT and STDERR, also reports RETVAL)
Stderr triggering. Triggers output when stderr output length is non-zero.
Without -e chronic needs non-zero return value to trigger output.
+In this mode, chronic's return value will be C<2> if the command's return
+value is C<0> but the command printed to stderr.
+
=back
=head1 AUTHOR