summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/rcs/ci
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-07 12:03:45 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-07 12:03:45 +0000
commit78f638e60fe4bedd2917b7a95b136b9ef40c214a (patch)
tree211efcc78f9bb1d2765cccb428e36448ab68a0aa /gnu/usr.bin/rcs/ci
parente85748d7e1cbdfb4044fbccdd212e98d37c05bc2 (diff)
change -L option name to -Z, note that in
co(1) manual, add -Z where were missed.
Diffstat (limited to 'gnu/usr.bin/rcs/ci')
-rw-r--r--gnu/usr.bin/rcs/ci/ci.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/usr.bin/rcs/ci/ci.c b/gnu/usr.bin/rcs/ci/ci.c
index de203d0978d..4ad03a49b31 100644
--- a/gnu/usr.bin/rcs/ci/ci.c
+++ b/gnu/usr.bin/rcs/ci/ci.c
@@ -28,6 +28,10 @@ Report problems and direct all questions to:
/*
* $Log: ci.c,v $
+ * Revision 1.3 1996/05/07 12:02:52 mickey
+ * change -L option name to -Z, note that in
+ * co(1) manual, add -Z where were missed.
+ *
* 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.
@@ -271,10 +275,10 @@ 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.2 1996/04/19 12:40:00 mickey Exp $")
+mainProg(ciId, "ci", "$Id: ci.c,v 1.3 1996/05/07 12:02:52 mickey Exp $")
{
static char const cmdusage[] =
- "\nci usage: ci -{fIklMqru}[rev] -d[date] -mmsg -{nN}name -sstate -ttext -T -Vn -wwho -xsuff -zzone file ...";
+ "\nci usage: ci -{fIklMqru}[rev] -d[date] -mmsg -{nN}name -sstate -ttext -T -Vn -wwho -xsuff -zzone -ZlocalId file ...";
static char const default_state[] = DEFAULTSTATE;
char altdate[datesize];
@@ -353,8 +357,8 @@ mainProg(ciId, "ci", "$Id: ci.c,v 1.2 1996/04/19 12:40:00 mickey Exp $")
keepflag=true;
goto revno;
- case 'L':
- setRCSlocalId(*argv+2);
+ case 'Z':
+ setRCSlocalId(a);
break;
case 'm':