summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/rcs/co
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-19 12:40:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-04-19 12:40:10 +0000
commitd17b9a921a16fd6c521bf274142ef4ed0eab1e46 (patch)
treefb3011ba887793177d80d70e1dfe03b189f90a81 /gnu/usr.bin/rcs/co
parent6a6f0367b7974e7532bca32ed0b90549bc38ce7c (diff)
-L<string> option added to support LOCALID behaviour.
maybe set up in RCSINIT environment variable.
Diffstat (limited to 'gnu/usr.bin/rcs/co')
-rw-r--r--gnu/usr.bin/rcs/co/co.17
-rw-r--r--gnu/usr.bin/rcs/co/co.c14
2 files changed, 17 insertions, 4 deletions
diff --git a/gnu/usr.bin/rcs/co/co.1 b/gnu/usr.bin/rcs/co/co.1
index efa4705a626..1138ac56212 100644
--- a/gnu/usr.bin/rcs/co/co.1
+++ b/gnu/usr.bin/rcs/co/co.1
@@ -2,7 +2,7 @@
.ds Rv \\$3
.ds Dt \\$4
..
-.Id $Id: co.1,v 1.1 1995/10/18 08:40:59 deraadt Exp $
+.Id $Id: co.1,v 1.2 1996/04/19 12:40:02 mickey Exp $
.ds i \&\s-1ISO\s0
.ds r \&\s-1RCS\s0
.ds u \&\s-1UTC\s0
@@ -151,6 +151,11 @@ See also
.SM "FILE MODES"
below.
.TP
+.B \-L
+adds the synonym for the
+.BR Id
+keyword.
+.TP
.B \-kkv
Generate keyword strings using the default form, e.g.\&
.B "$\&Revision: \*(Rv $"
diff --git a/gnu/usr.bin/rcs/co/co.c b/gnu/usr.bin/rcs/co/co.c
index 75d81effc62..5b80764cbb4 100644
--- a/gnu/usr.bin/rcs/co/co.c
+++ b/gnu/usr.bin/rcs/co/co.c
@@ -28,8 +28,12 @@ Report problems and direct all questions to:
/*
* $Log: co.c,v $
- * Revision 1.1 1995/10/18 08:41:00 deraadt
- * Initial revision
+ * Revision 1.2 1996/04/19 12:40:04 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:41:00 deraadt
+ * initial import of NetBSD tree
*
* Revision 1.3 1995/02/24 02:07:49 mycroft
* RCS 5.6.7.4
@@ -191,7 +195,7 @@ static struct hshentries *gendeltas; /* deltas to be generated */
static struct hshentry *targetdelta; /* final delta to be generated */
static struct stat workstat;
-mainProg(coId, "co", "$Id: co.c,v 1.1 1995/10/18 08:41:00 deraadt Exp $")
+mainProg(coId, "co", "$Id: co.c,v 1.2 1996/04/19 12:40:04 mickey Exp $")
{
static char const cmdusage[] =
"\nco usage: co -{fIlMpqru}[rev] -ddate -jjoins -ksubst -sstate -T -w[who] -Vn -xsuff -zzone file ...";
@@ -310,6 +314,10 @@ mainProg(coId, "co", "$Id: co.c,v 1.1 1995/10/18 08:41:00 deraadt Exp $")
zone_set(a);
break;
+ case 'L': /* add local $Id: co.c,v 1.2 1996/04/19 12:40:04 mickey Exp $ keyword string */
+ setRCSlocalId(*argv+2);
+ break;
+
case 'k': /* set keyword expand mode */
expandarg = *argv;
if (0 <= expmode) redefined('k');