summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-12-02 14:49:07 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-12-02 14:49:07 +0000
commit34ad0926df6f0b6919714b1994b60ac42002c995 (patch)
tree55af44a114ec5ded38827b894b6fafef83aa5100 /usr.bin
parent85cfd842f66fcc21d100cf316997f4a2e9dc71cf (diff)
document `-orev';
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rcs/rcs.131
1 files changed, 30 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcs.1 b/usr.bin/rcs/rcs.1
index 8fd33e4d360..7387e36e0e9 100644
--- a/usr.bin/rcs/rcs.1
+++ b/usr.bin/rcs/rcs.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcs.1,v 1.18 2005/11/30 09:36:48 xsa Exp $
+.\" $OpenBSD: rcs.1,v 1.19 2005/12/02 14:49:06 xsa Exp $
.\"
.\" Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
.\" All rights reserved.
@@ -39,6 +39,7 @@
.Op Fl e Ns Op Ar users
.Op Fl k Ns Ar mode
.Op Fl m Ns Ar rev : Ns Ar log
+.Op Fl o Ns Ar rev
.Oo Fl t Ns Ar file Ns \*(Ba
.Ar str Oc
.Op Fl x Ns Ar suffixes
@@ -102,6 +103,34 @@ Replace revision
.Ar rev Ns 's
log message with
.Ar msg .
+.It Fl o Ns Ar rev
+Delete one or more revisions.
+The specifications of the values or revisions are as follows:
+.Bl -tag -width Ds
+.It rev
+Specific revision.
+.It rev1:rev2
+Delete all revisions of a branch between
+.Ar rev1
+and
+.Ar rev2 .
+.It rev1::rev2
+Delete all revisions of a branch between
+.Ar rev1
+and
+.Ar rev2
+without deleting revisions
+.Ar rev1
+and
+.Ar rev2 .
+.It :rev
+Delete all revisions of the branch until revision
+.Ar rev .
+.It rev:
+Delete all revisions of the branch from revision
+.Ar rev
+until the last revision of the branch.
+.El
.It Fl q
Be quiet about reporting.
.Sm off