diff options
Diffstat (limited to 'gnu/usr.bin/rcs/rlog/rlog.c')
-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); |