summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/rcs/ci
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/rcs/ci')
-rw-r--r--gnu/usr.bin/rcs/ci/ci.17
-rw-r--r--gnu/usr.bin/rcs/ci/ci.c14
2 files changed, 17 insertions, 4 deletions
diff --git a/gnu/usr.bin/rcs/ci/ci.1 b/gnu/usr.bin/rcs/ci/ci.1
index 9cfff2de70a..a0ca84e4a18 100644
--- a/gnu/usr.bin/rcs/ci/ci.1
+++ b/gnu/usr.bin/rcs/ci/ci.1
@@ -2,7 +2,7 @@
.ds Rv \\$3
.ds Dt \\$4
..
-.Id $Id: ci.1,v 1.1 1995/10/18 08:40:59 deraadt Exp $
+.Id $Id: ci.1,v 1.2 1996/04/19 12:39:59 mickey Exp $
.ds i \&\s-1ISO\s0
.ds r \&\s-1RCS\s0
.ds u \&\s-1UTC\s0
@@ -256,6 +256,11 @@ overrides
forces a deposit; the new revision is deposited even it is not different
from the preceding one.
.TP
+.BR \-L
+adds a synonym for the
+.B Id
+keyword.
+.TP
.BR \-k [\f2rev\fP]
searches the working file for keyword values to determine its revision number,
creation date, state, and author (see
diff --git a/gnu/usr.bin/rcs/ci/ci.c b/gnu/usr.bin/rcs/ci/ci.c
index 9b5bfdb79e7..de203d0978d 100644
--- a/gnu/usr.bin/rcs/ci/ci.c
+++ b/gnu/usr.bin/rcs/ci/ci.c
@@ -28,8 +28,12 @@ Report problems and direct all questions to:
/*
* $Log: ci.c,v $
- * Revision 1.1 1995/10/18 08:40:59 deraadt
- * Initial revision
+ * Revision 1.2 1996/04/19 12:40:00 mickey
+ * -L<string> option added to support LOCALID behaviour.
+ * maybe set up in RCSINIT environment variable.
+ *
+ * Revision 1.1.1.1 1995/10/18 08:40:59 deraadt
+ * initial import of NetBSD tree
*
* Revision 1.3 1995/02/24 02:07:46 mycroft
* RCS 5.6.7.4
@@ -267,7 +271,7 @@ static struct hshentry newdelta; /* new delta to be inserted */
static struct stat workstat;
static struct Symrev *assoclst, **nextassoc;
-mainProg(ciId, "ci", "$Id: ci.c,v 1.1 1995/10/18 08:40:59 deraadt Exp $")
+mainProg(ciId, "ci", "$Id: ci.c,v 1.2 1996/04/19 12:40:00 mickey Exp $")
{
static char const cmdusage[] =
"\nci usage: ci -{fIklMqru}[rev] -d[date] -mmsg -{nN}name -sstate -ttext -T -Vn -wwho -xsuff -zzone file ...";
@@ -349,6 +353,10 @@ mainProg(ciId, "ci", "$Id: ci.c,v 1.1 1995/10/18 08:40:59 deraadt Exp $")
keepflag=true;
goto revno;
+ case 'L':
+ setRCSlocalId(*argv+2);
+ break;
+
case 'm':
if (msg.size) redefined('m');
msg = cleanlogmsg(a, strlen(a));