diff options
author | Carl Worth <cworth@cworth.org> | 2010-04-09 16:40:31 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-04-09 17:43:58 -0700 |
commit | e100871981daeb3bb9a6c8718c95e6044953b57f (patch) | |
tree | fc91a754674610c77a91fb2984bd0c4dd73cfac3 /lib/notmuch.h | |
parent | b15a03fafc2e313264519f030e45ea203af508e2 (diff) |
lib: Handle "*" as a query string to match all messages.
This seems like a generally useful thing to support, (but the previous
support through an empty string was not convenient for some users,
(such as the command-line client).
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r-- | lib/notmuch.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index 88da0789..42682854 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -325,7 +325,8 @@ notmuch_database_get_all_tags (notmuch_database_t *db); * * http://xapian.org/docs/queryparser.html * - * As a special case, passing a length-zero string, (that is ""), will + * As a special case, passing either a length-zero string, (that is ""), + * or a string consisting of a single asterisk (that is "*"), will * result in a query that returns all messages in the database. * * See notmuch_query_set_sort for controlling the order of results. |