notmuch: Document the new special-case syntax of "*".

This functionality came through a recent addition to the library.
This commit is contained in:
Carl Worth 2010-04-09 16:49:20 -07:00
parent e100871981
commit 74168777cb
2 changed files with 6 additions and 0 deletions

View file

@ -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 terms/phrases in the body, the subject, or any of the sender or
recipient headers. 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 In addition to free text, the following prefixes can be used to force
terms to match against specific portions of an email, (where terms to match against specific portions of an email, (where
<brackets> indicate user-supplied values): <brackets> indicate user-supplied values):

View file

@ -44,6 +44,9 @@ static const char search_terms_help[] =
"\tthe given terms/phrases in the body, the subject, or any of\n" "\tthe given terms/phrases in the body, the subject, or any of\n"
"\tthe sender or recipient headers.\n" "\tthe sender or recipient headers.\n"
"\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" "\tIn addition to free text, the following prefixes can be used\n"
"\tto force terms to match against specific portions of an email,\n" "\tto force terms to match against specific portions of an email,\n"
"\t(where <brackets> indicate user-supplied values):\n" "\t(where <brackets> indicate user-supplied values):\n"