summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-08 20:31:02 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-08 20:31:02 +0000
commit8f1b4fd7b600f29011a3369c89fc224f6bef0c07 (patch)
treee05742431469f02604ec6114fd47022af476fb1e
parentc460159b5d5ff1455b9e77e93025a8e5e1d805cb (diff)
- document -r flag
- add ident(1) to SEE ALSO
-rw-r--r--usr.bin/rcs/rcsdiff.115
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsdiff.1 b/usr.bin/rcs/rcsdiff.1
index 17036c46b1f..834c491478e 100644
--- a/usr.bin/rcs/rcsdiff.1
+++ b/usr.bin/rcs/rcsdiff.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcsdiff.1,v 1.2 2005/10/08 19:20:49 joris Exp $
+.\" $OpenBSD: rcsdiff.1,v 1.3 2005/10/08 20:31:01 niallo Exp $
.\"
.\" Copyright (c) 2005 Joris Vink <joris@openbsd.org>
.\" All rights reserved.
@@ -24,12 +24,16 @@
.Nm
.Bk -words
.Op Fl cnquV
+.Oo
+.Fl r Ar rev
+.Op Fl r Ar rev2
+.Oc
.Ar file ...
.Ek
.Sh DESCRIPTION
The
.Nm
-program is used to compare two revisions of each RCS file given
+program is used to compare two revisions of each RCS file given
.Pp
The following options are supported:
.Bl -tag -width Ds
@@ -40,6 +44,12 @@ for more information.
.It Fl n
Produces a diff in the same format as that used by
.Xr rcsdiff 1
+.It Fl r Ar rev
+If one -r option is given, the diff is generated between the
+working file and
+.Ar rev .
+If two -r options are given, the diff is generated between the
+two revisions specified.
.It Fl q
Be quiet about reporting.
.It Fl u
@@ -57,6 +67,7 @@ are prepended to the argument list.
.El
.Sh SEE ALSO
.Xr co 1 ,
+.Xr ident 1 ,
.Xr rcs 1 ,
.Xr rcsclean 1 ,
.Xr rcsfile 5