]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch: Document the new special-case syntax of "*".
authorCarl Worth <cworth@cworth.org>
Fri, 9 Apr 2010 23:49:20 +0000 (16:49 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 10 Apr 2010 00:44:01 +0000 (17:44 -0700)
This functionality came through a recent addition to the library.

notmuch.1
notmuch.c

index 0e6a2edcc2c76c17f796a4d6f375bb4411e4bfef..96fd2429d4945cf33416050731c796db704ab03b 100644 (file)
--- a/notmuch.1
+++ b/notmuch.1
@@ -387,6 +387,9 @@ which will match all messages that contain all of the given
 terms/phrases in the body, the subject, or any of the sender or
 recipient headers.
 
+As a special case, a search string consisting of exactly a single
+asterisk ("*") will match all messages.
+
 In addition to free text, the following prefixes can be used to force
 terms to match against specific portions of an email, (where
 <brackets> indicate user-supplied values):
index 8650951533e22cd2aa31807111f3ecffba0c4eb6..7e595e247e9f41960df94e01f027110b24859a91 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -44,6 +44,9 @@ static const char search_terms_help[] =
     "\tthe given terms/phrases in the body, the subject, or any of\n"
     "\tthe sender or recipient headers.\n"
     "\n"
+    "\tAs a special case, a search string consisting of exactly a\n"
+    "\tsingle asterisk (\"*\") will match all messages.\n"
+    "\n"
     "\tIn addition to free text, the following prefixes can be used\n"
     "\tto force terms to match against specific portions of an email,\n"
     "\t(where <brackets> indicate user-supplied values):\n"