=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/cvs.1,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- src/usr.bin/cvs/cvs.1 2005/08/08 15:01:05 1.80 +++ src/usr.bin/cvs/cvs.1 2005/08/09 07:24:09 1.81 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cvs.1,v 1.80 2005/08/08 15:01:05 xsa Exp $ +.\" $OpenBSD: cvs.1,v 1.81 2005/08/09 07:24:09 xsa Exp $ .\" .\" Copyright (c) 2004 Jean-Francois Brousseau .\" Copyright (c) 2004, 2005 Xavier Santolaria @@ -1874,6 +1874,34 @@ .It Pa $CVSROOT/CVSROOT/loginfo File containing associations between modules and handlers for post-commit logging. +.El +.Sh DIAGNOSTICS +The +.Nm +utility exits 0 on success, or with one of the following return codes. +The numerical values corresponding to the symbolic ones are given in +parentheses for easy reference. +.Pp +.Bl -tag -width Ds +.It Dv CVS_EX_USAGE Pq 1 +The +.Nm +command was used incorrectly. +Either with the wrong number of arguments, a bad flag, a bad syntax in +a parameter, etc... +.It Dv CVS_EX_DATA Pq 2 +The input data was incorrect in some way. +.It Dv CVS_EX_PROTO Pq 3 +The remote system returned something that was not possible during +a protocol exchange. +.It Dv CVS_EX_FILE Pq 4 +An error occurred while doing an operation on a file. +.It Dv CVS_EX_BADTAG Pq 5 +An error occured while doing a tagging/untagging operation. +.It Dv CVS_EX_BADROOT Pq 6 +The +.Ev CVSROOT +was not given or does not match the expected format. .El .Sh SEE ALSO .Xr diff 1 ,