summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-09 14:49:40 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-10-09 14:49:40 +0000
commita802e1ffc6da9faf0266f5e2bac875f6c8bd5e67 (patch)
tree899ee7152e07b44c4fefb2410dd8c933e9f9f9d0 /usr.bin/rcs
parent8780431a8ac20df086658ede471fda1251fd133e (diff)
- document `-r' switch as a single option instead of two distinct options.
- sync with checkin_usage() input from jmc@
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/ci.119
1 files changed, 12 insertions, 7 deletions
diff --git a/usr.bin/rcs/ci.1 b/usr.bin/rcs/ci.1
index f9fe5cb9c16..188fa07093d 100644
--- a/usr.bin/rcs/ci.1
+++ b/usr.bin/rcs/ci.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ci.1,v 1.3 2005/10/08 20:47:29 jmc Exp $
+.\" $OpenBSD: ci.1,v 1.4 2005/10/09 14:49:39 niallo Exp $
.\"
.\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
.\" All rights reserved.
@@ -23,11 +23,11 @@
.Sh SYNOPSIS
.Nm
.Bk -words
-.Op Fl jlMNqruV
+.Op Fl jlMNquV
.Op Fl d Ar date
.Op Fl k Ar mode
.Op Fl m Ar msg
-.Op Fl r Ar rev
+.Op Fl r Op Ar rev
.Ar file ...
.Ek
.Sh DESCRIPTION
@@ -62,12 +62,17 @@ A line beginning with a hash character
is considered a comment and ignored.
.It Fl q
Be quiet about reporting.
-.It Fl r
-Overrides any -l or -u options, ensuring the default behaviour of releasing a
-lock and removing the working file.
-.It Fl r Ar rev
+.It Fl r Op Ar rev
Check in revision
.Ar rev .
+However, if
+.Ar rev
+is not specified the meaning is completely different \- override any
+.Fl l
+or
+.Fl u
+options, ensuring the default behaviour of releasing a lock and removing the
+working file.
.It Fl s Ar state
Sets the state of the deposited revision to the identifier
.Ar state .