summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress/compress.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/compress/compress.1')
-rw-r--r--usr.bin/compress/compress.17
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index 9b6e4c0..cb69bcb 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -150,6 +150,13 @@ coding (as used in the historical command compact), and takes less
time to compute.
.Sh DIAGNOSTICS
.Ex -std compress uncompress
+.Pp
+The
+.Nm compress
+utility exits 2 if attempting to compress the file would not reduce its size
+and the
+.Fl f
+option was not specified.
.Sh SEE ALSO
.Xr gunzip 1 ,
.Xr gzexe 1 ,
OpenPOWER on IntegriCloud