summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-01 18:58:35 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-01 18:58:35 +0000
commit152a966e633389dcc8762946f684547782927526 (patch)
tree4347d4bf9286b4b554c07e368b2c03abab222489
parenta99d13d18f7ee312fa9187cd07f68dae9af61f78 (diff)
- `-p' option has been implemented for a while, but not documented fully in
the manual page -> document it.
-rw-r--r--usr.bin/rcs/co.114
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/rcs/co.1 b/usr.bin/rcs/co.1
index 0c257ac23f6..581dfd1a074 100644
--- a/usr.bin/rcs/co.1
+++ b/usr.bin/rcs/co.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: co.1,v 1.8 2005/10/19 16:15:36 xsa Exp $
+.\" $OpenBSD: co.1,v 1.9 2005/11/01 18:58:34 niallo Exp $
.\"
.\" Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
.\" All rights reserved.
@@ -23,12 +23,13 @@
.Sh SYNOPSIS
.Nm
.Bk -words
-.Op Fl fIMpqV
+.Op Fl fIMqV
.Op Ar rev
.Op Fl d Ns Ar date
.Op Fl k Ns Ar mode
.Op Fl l Ns Op Ar rev
.Op Fl m Ns Ar msg
+.Op Fl p Ns Op Ar rev
.Op Fl r Ns Op Ar rev
.Op Fl s Ns Ar state
.Op Fl u Ns Op Ar rev
@@ -64,8 +65,13 @@ Specify a log message.
A line beginning with a hash character
.Pq Sq #
is considered a comment and ignored.
-.It Fl p
-Print the retrieved revision to standard output.
+.It Fl p Ns Op Ar rev
+Print the latest revision no later than
+.Ar rev
+to standard output.
+If
+.Ar rev
+is not specified, print HEAD.
.It Fl q
Be quiet about reporting.
.It Fl r Ns Op Ar rev