diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-07 12:03:45 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-07 12:03:45 +0000 |
commit | 78f638e60fe4bedd2917b7a95b136b9ef40c214a (patch) | |
tree | 211efcc78f9bb1d2765cccb428e36448ab68a0aa /gnu/usr.bin/rcs/rlog | |
parent | e85748d7e1cbdfb4044fbccdd212e98d37c05bc2 (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/rlog')
-rw-r--r-- | gnu/usr.bin/rcs/rlog/rlog.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/usr.bin/rcs/rlog/rlog.c b/gnu/usr.bin/rcs/rlog/rlog.c index f3497a8617c..b1ef2c1b2b8 100644 --- a/gnu/usr.bin/rcs/rlog/rlog.c +++ b/gnu/usr.bin/rcs/rlog/rlog.c @@ -28,8 +28,12 @@ Report problems and direct all questions to: /* * $Log: rlog.c,v $ - * Revision 1.1 1995/10/18 08:41:04 deraadt - * Initial revision + * Revision 1.2 1996/05/07 12:03:44 mickey + * change -L option name to -Z, note that in + * co(1) manual, add -Z where were missed. + * + * Revision 1.1.1.1 1995/10/18 08:41:04 deraadt + * initial import of NetBSD tree * * Revision 1.3 1995/02/24 02:25:43 mycroft * RCS 5.6.7.4 @@ -215,10 +219,10 @@ static struct lockers *lockerlist; static struct stateattri *statelist; -mainProg(rlogId, "rlog", "$Id: rlog.c,v 1.1 1995/10/18 08:41:04 deraadt Exp $") +mainProg(rlogId, "rlog", "$Id: rlog.c,v 1.2 1996/05/07 12:03:44 mickey Exp $") { static char const cmdusage[] = - "\nrlog usage: rlog -{bhLNRt} -ddates -l[lockers] -r[revs] -sstates -Vn -w[logins] -xsuff -zzone file ..."; + "\nrlog usage: rlog -{bhLNRt} -ddates -l[lockers] -r[revs] -sstates -Vn -w[logins] -xsuff -zzone -ZlocalId file ..."; register FILE *out; char *a, **newargv; @@ -314,6 +318,11 @@ mainProg(rlogId, "rlog", "$Id: rlog.c,v 1.1 1995/10/18 08:41:04 deraadt Exp $") setRCSversion(*argv); break; + case 'Z': + /* add local Id keyword */ + setRCSlocalId(a); + break; + default: unknown: error("unknown option: %s%s", *argv, cmdusage); |