From 32adbfb76516082a6df498a61500395a81652210 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Fri, 5 May 2006 15:47:37 +0000 Subject: - 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. --- usr.bin/rcs/rcsdiff.1 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'usr.bin/rcs/rcsdiff.1') 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 .\" 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 , -- cgit v1.2.3