summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-07-20 13:25:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-07-20 13:25:53 +0000
commit029e0522d4ca545503854e1eb2e63ccec4f718b0 (patch)
tree115db812ed7b0dfab26becf25434161718cbf606
parente7eb6282fb4871786257dc86f28d6283ffa7f0e2 (diff)
document exit values
-rw-r--r--usr.bin/compress/compress.114
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index 7b7127db825..5b9c73cd21f 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: compress.1,v 1.21 2003/07/17 20:06:01 millert Exp $
+.\" $OpenBSD: compress.1,v 1.22 2003/07/20 13:25:52 millert Exp $
.\" $NetBSD: compress.1,v 1.5 1995/03/26 09:44:34 glass Exp $
.\"
.\" Copyright (c) 1986, 1990, 1993
@@ -318,6 +318,18 @@ more files were not compressed because they would have grown in
size (and
.Fl f
was not specified).
+.Sh RETURN VALUES
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width flag -compact
+.It Li 0
+The file was compressed successfully.
+.It Li 1
+An error occurred.
+.It Li 2
+A warning occurred.
.Sh SEE ALSO
.Rs
.%A Welch, Terry A.