diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-10-16 18:00:33 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-10-16 18:00:33 +0000 |
commit | 078c61f5dc76562d453b17716800dbd2a7cd1cd2 (patch) | |
tree | 30720ad62f46cbddfbca18134dffcfb1b191c6e9 | |
parent | 67109423dbbc5dceafdb4ed7394ac6ed336210b5 (diff) |
paste in EXIT STATUS from diff(1); confirmed by ray
-rw-r--r-- | usr.bin/sdiff/sdiff.1 | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/usr.bin/sdiff/sdiff.1 b/usr.bin/sdiff/sdiff.1 index 336ce2691e6..5ee86694da7 100644 --- a/usr.bin/sdiff/sdiff.1 +++ b/usr.bin/sdiff/sdiff.1 @@ -1,9 +1,9 @@ -.\" $OpenBSD: sdiff.1,v 1.15 2007/06/29 14:48:07 jmc Exp $ +.\" $OpenBSD: sdiff.1,v 1.16 2010/10/16 18:00:32 jmc Exp $ .\" .\" Written by Raymond Lai <ray@cyth.net>. .\" Public domain. .\" -.Dd $Mdocdate: June 29 2007 $ +.Dd $Mdocdate: October 16 2010 $ .Dt SDIFF 1 .Os .Sh NAME @@ -143,6 +143,19 @@ Specifies a directory for temporary files to be created. The default is .Pa /tmp . .El +.Sh EXIT STATUS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It 0 +No differences were found. +.It 1 +Differences were found. +.It \*(Gt1 +An error occurred. +.El .Sh SEE ALSO .Xr cmp 1 , .Xr diff 1 , |