From d4da9a4a1884f9bcb972d9bf232dbe60f79fe780 Mon Sep 17 00:00:00 2001 From: obrien Date: Tue, 12 Dec 2006 03:20:36 +0000 Subject: 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. --- contrib/cvs/src/log.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/cvs/src/log.c b/contrib/cvs/src/log.c index 88e5bb7..f8447ba 100644 --- a/contrib/cvs/src/log.c +++ b/contrib/cvs/src/log.c @@ -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; -- cgit v1.1