summaryrefslogtreecommitdiff
path: root/docs/NEWS
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-08-29 12:04:57 +0100
committerColin Watson <cjwatson@debian.org>2007-08-29 12:04:57 +0100
commit935dca567d8efa15d0c4f5464ad710fdaa9ad511 (patch)
tree3c97396e67f88664dfee0473b899e05f0d4f4ee1 /docs/NEWS
parentb545400e02e8b89570041787a22885344111f0ff (diff)
Add an option to apropos to display only items matching all keywords
(thanks, Alfie Costa; Debian bug #259340). * src/whatis.c (args, long_options, main): New -a/--and option for apropos. (usage): Document it. (apropos): Store a count of how many times each item has been seen in the hashtable. If --and was given, only display an item if its count equals the number of supplied keywords. (main): Store the number of supplied keywords. Adjust hash free function. * man/man1/apropos.man1 (SYNOPSIS, OPTIONS): Document --and. * docs/NEWS: Document this.
Diffstat (limited to 'docs/NEWS')
-rw-r--r--docs/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/NEWS b/docs/NEWS
index 80c8cf89..0862c784 100644
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -51,6 +51,9 @@ Major changes since man-db 2.4.4:
o The output of apropos no longer includes duplicates when multiple
search terms are used.
+ o apropos now accepts the --and option to display only items that
+ match all the supplied keywords.
+
man-db 2.4.4 (12 February 2007)
===============================