summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsdiff.1
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-05-05 15:47:37 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-05-05 15:47:37 +0000
commit32adbfb76516082a6df498a61500395a81652210 (patch)
tree2aafadd376cb47c31811b45afe72b23c7b07ed0e /usr.bin/rcs/rcsdiff.1
parentfded76b603159686e912195d2de81fc4ed6ecfbd (diff)
- fix rcsdiff exit status on success/errors; now matches gnu/usr.bin/rcs.
- add DIAGNOSTICS section to rcsdiff.1 wrt exit codes. ok ray@ and jmc@ for man page bits.
Diffstat (limited to 'usr.bin/rcs/rcsdiff.1')
-rw-r--r--usr.bin/rcs/rcsdiff.115
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsdiff.1 b/usr.bin/rcs/rcsdiff.1
index 4196d304215..3c8fdf370be 100644
--- a/usr.bin/rcs/rcsdiff.1
+++ b/usr.bin/rcs/rcsdiff.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcsdiff.1,v 1.21 2006/04/24 08:40:01 jmc Exp $
+.\" $OpenBSD: rcsdiff.1,v 1.22 2006/05/05 15:47:36 xsa Exp $
.\"
.\" Copyright (c) 2005 Joris Vink <joris@openbsd.org>
.\" All rights reserved.
@@ -113,6 +113,19 @@ Compare revision 1.7 and 1.8 of file
and ignore differences in keyword values:
.Pp
.Dl $ rcsdiff -kk -r1.7 -r1.8 foo.c
+.Sh DIAGNOSTICS
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width Ds -compact -offset indent
+.It 0
+No differences were found.
+.It 1
+Differences were found.
+.It 2
+An error occurred.
+.El
.Sh SEE ALSO
.Xr ci 1 ,
.Xr co 1 ,