summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-02-03 01:17:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-02-03 01:26:06 -0800
commit54d039eb3665aedf46fc2f84052162724b7e5aa7 (patch)
tree5c8bccd8bddee5c7b456b08aa362bf18047356b7
parent2640ce53f3849a8cacdfa9a0fd277dccd2a0a88d (diff)
downloadgzip-54d039eb3665aedf46fc2f84052162724b7e5aa7.tar.gz
doc: document exit status
* doc/gzip.texi: Document exit status.
-rw-r--r--doc/gzip.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/gzip.texi b/doc/gzip.texi
index 6a0b3e2..33a9755 100644
--- a/doc/gzip.texi
+++ b/doc/gzip.texi
@@ -410,6 +410,9 @@ compression level is @option{-6} (that is, biased towards high compression at
expense of speed).
@end table
+An exit status of 0 indicates success, 1 indicates failure, and 2
+indicates a warning but not failure.
+
@node Advanced usage
@chapter Advanced usage
@cindex concatenated files