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:
David E. O'Brien 2006-12-12 03:20:36 +00:00
parent 347126a2e2
commit bc6d91c4b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165111

View file

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