summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-10 13:32:01 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-10 13:32:01 +0000
commitde4de9dbc890d1aef3ac8a7ca54dce099f901b4a (patch)
tree30d1b23d6f459896c3f0f619219b11192056c4c1 /usr.bin/rcs
parent31d5e78960fbe152f666d598fcee6c464b81381a (diff)
- update `-l' `-r' and `-u' descriptions to include optional <rev>
- update SYNOPSIS for the same thing
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/co.116
1 files changed, 11 insertions, 5 deletions
diff --git a/usr.bin/rcs/co.1 b/usr.bin/rcs/co.1
index 98c861894f3..0590a7e8c5a 100644
--- a/usr.bin/rcs/co.1
+++ b/usr.bin/rcs/co.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: co.1,v 1.4 2005/10/08 22:15:10 jmc Exp $
+.\" $OpenBSD: co.1,v 1.5 2005/10/10 13:32:00 niallo Exp $
.\"
.\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
.\" All rights reserved.
@@ -23,12 +23,15 @@
.Sh SYNOPSIS
.Nm
.Bk -words
-.Op Fl fIlMpqruV
+.Op Fl fIMpqV
.Op Ar rev
.Op Fl d Ar date
.Op Fl k Ar mode
+.Op Fl l Op Ar rev
.Op Fl m Ar msg
+.Op Fl r Op Ar rev
.Op Fl s Ar state
+.Op Fl u Op Ar rev
.Op Fl w Ar user
.Op Fl x Ar suffixes
.Op Fl z Ar tz
@@ -49,7 +52,7 @@ Force the overwriting of the working file.
Interactive mode.
.It Fl k Ar mode
Specify the keyword substitution mode.
-.It Fl l
+.It Fl l Op Ar rev
The same as
.Fl r ,
but also locks the revision.
@@ -65,14 +68,17 @@ is considered a comment and ignored.
Print the retrieved revision to standard output.
.It Fl q
Be quiet about reporting.
-.It Fl r
+.It Fl r Op Ar rev
Retrieve the latest revision no later than
.Ar rev .
+If
+.Ar rev
+is not specified, retrieve HEAD.
.It Fl s Ar state
Retrieve revision of the specified
.Ar state
only.
-.It Fl u
+.It Fl u Op Ar rev
The same as
.Fl r ,
but also unlocks the retrieved revision if it was locked.