summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-12-12 09:38:23 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-12-12 09:38:23 +0000
commita176f567cd79f3142d8d9090db0a130193b92e05 (patch)
tree5accc9309c5f4a0f6b5c0455b501a0f61791ef61
parente60c065d91d70adeda4e2f257fc8467e046605d0 (diff)
be consistent w/ `-tfile|str' documentation (cf. rcs.1);
-rw-r--r--usr.bin/rcs/ci.129
1 files changed, 17 insertions, 12 deletions
diff --git a/usr.bin/rcs/ci.1 b/usr.bin/rcs/ci.1
index f3df3337eb1..050f2d7aa71 100644
--- a/usr.bin/rcs/ci.1
+++ b/usr.bin/rcs/ci.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ci.1,v 1.20 2005/12/03 17:08:25 niallo Exp $
+.\" $OpenBSD: ci.1,v 1.21 2005/12/12 09:38:22 xsa Exp $
.\"
.\" Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org>
.\" All rights reserved.
@@ -36,7 +36,8 @@
.Op Fl n Ns Ar symbol
.Op Fl r Ns Op Ar rev
.Op Fl s Ns Ar state
-.Op Fl t Ns Ar file
+.Oo Fl t Ns Ar file Ns \*(Ba
+.Ar str Oc
.Op Fl u Ns Op Ar rev
.Op Fl w Ns Ar username
.Op Fl x Ns Ar suffixes
@@ -109,17 +110,21 @@ 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 file
-Sets the description in the RCS file to the contents of the specified file.
-The
-.Ar file
-argument cannot begin with \-.
-If
+.Sm off
+.It Fl t Ar file \*(Ba Ar str
+.Sm on
+Change the descriptive text.
+The descriptive text is taken from the
.Ar file
-begins with \-, the text following \- is used for the description,
-intead of loading the contents of a file.
-For example \-tafile sets the description to the contents of the file
-"afile", whereas \-t\-afile sets the description to the string "afile".
+specified as argument or from the string
+.Ar str
+given as argument if it is preceded by the
+.Sq -
+character.
+If no argument is used, the descriptive text is taken from standard input
+terminated by end-of-file or by a line containing the
+.Sq \&.
+character by itself.
.It Fl u
The same as
.Fl r ,