Add the '-n' option which is the opposite of '-N', "Do not list tags."

The '-n' option is needed when one has "log -N" in their ~/.cvsrc, but
wishes to see tags for a particular invocation.
This commit is contained in:
obrien 2006-12-12 03:20:36 +00:00
parent fcda4340a4
commit d4da9a4a18

View File

@ -236,7 +236,7 @@ cvslog (argc, argv)
prl = &log_data.revlist; prl = &log_data.revlist;
optind = 0; optind = 0;
while ((c = getopt (argc, argv, "+bd:hlNSRr::s:tw::")) != -1) while ((c = getopt (argc, argv, "+bd:hlNnSRr::s:tw::")) != -1)
{ {
switch (c) switch (c)
{ {
@ -255,6 +255,9 @@ cvslog (argc, argv)
case 'N': case 'N':
log_data.notags = 1; log_data.notags = 1;
break; break;
case 'n':
log_data.notags = 0;
break;
case 'S': case 'S':
log_data.sup_header = 1; log_data.sup_header = 1;
break; break;