diff options
author | obrien <obrien@FreeBSD.org> | 2006-12-12 03:20:36 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-12-12 03:20:36 +0000 |
commit | d4da9a4a1884f9bcb972d9bf232dbe60f79fe780 (patch) | |
tree | 88d129235e880a91056d847a9d76f247346e812a /contrib/cvs | |
parent | fcda4340a4ca0dc2c34e3a1408e25a156a6bcd9e (diff) | |
download | FreeBSD-src-d4da9a4a1884f9bcb972d9bf232dbe60f79fe780.zip FreeBSD-src-d4da9a4a1884f9bcb972d9bf232dbe60f79fe780.tar.gz |
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.
Diffstat (limited to 'contrib/cvs')
-rw-r--r-- | contrib/cvs/src/log.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |