summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2011-07-14 16:31:35 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2011-07-14 16:31:35 +0000
commit23e8ec5388245c23f7499d5dd8a05fcc55cd911b (patch)
tree5987373f694e1a59ce738707d85e21c645b4c186 /usr.bin/rcs
parentb424e4d7059cc2e4f7c05b19a063c00334da7def (diff)
str is an optional argument to -t; if no argument is given, this
option is ignored (for compatibility reasons). ok jmc@
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/ci.18
-rw-r--r--usr.bin/rcs/ci.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/rcs/ci.1 b/usr.bin/rcs/ci.1
index 47b6869b6d1..dd576268804 100644
--- a/usr.bin/rcs/ci.1
+++ b/usr.bin/rcs/ci.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ci.1,v 1.36 2010/09/03 11:09:29 jmc Exp $
+.\" $OpenBSD: ci.1,v 1.37 2011/07/14 16:31:34 sobrado Exp $
.\"
.\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
.\" All rights reserved.
@@ -14,7 +14,7 @@
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: September 3 2010 $
+.Dd $Mdocdate: July 14 2011 $
.Dt CI 1
.Os
.Sh NAME
@@ -37,7 +37,7 @@
.Op Fl n Ns Ar symbol
.Op Fl r Ns Op Ar rev
.Op Fl s Ns Ar state
-.Op Fl t Ns Ar str
+.Op Fl t Ns Op Ar str
.Op Fl u Ns Op Ar rev
.Op Fl w Ns Ar username
.Op Fl x Ns Ar suffixes
@@ -143,7 +143,7 @@ working file.
Sets the state of the deposited revision to the identifier
.Ar state .
The specified value may not contain a space character.
-.It Fl t Ns Ar str
+.It Fl t Ns Op Ar str
Change the descriptive text.
The argument
.Ar str
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index 456f2eeb2ab..8ed89ddc73b 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.212 2011/04/20 19:34:16 nicm Exp $ */
+/* $OpenBSD: ci.c,v 1.213 2011/07/14 16:31:34 sobrado Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -94,7 +94,7 @@ checkin_usage(void)
fprintf(stderr,
"usage: ci [-qV] [-d[date]] [-f[rev]] [-I[rev]] [-i[rev]]\n"
" [-j[rev]] [-k[rev]] [-l[rev]] [-M[rev]] [-mmsg]\n"
- " [-Nsymbol] [-nsymbol] [-r[rev]] [-sstate] [-tstr]\n"
+ " [-Nsymbol] [-nsymbol] [-r[rev]] [-sstate] [-t[str]]\n"
" [-u[rev]] [-wusername] [-xsuffixes] [-ztz] file ...\n");
}