aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-03-09 16:03:58 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-03-09 16:03:58 -0800
commite3046c688be7a28e7dcfbce5fa54074917fd9904 (patch)
tree439f3c1ea4ca7a15c5e18bd57dee54bd205d7c46 /notmuch.c
parentbbda0a015629d0a760d98b8d23888f50c9297a12 (diff)
Add is:<tag> as a synonym for tag:<tag> in search terms.
I like the readability of this, it provides compatibility with people trained in this syntax by sup, and it even saves one character.
Diffstat (limited to 'notmuch.c')
-rw-r--r--notmuch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notmuch.c b/notmuch.c
index dca8d382..95f057ea 100644
--- a/notmuch.c
+++ b/notmuch.c
@@ -52,7 +52,7 @@ static const char search_terms_help[] =
"\t\t\tto:<name-or-address>\n"
"\t\t\tsubject:<word-or-quoted-phrase>\n"
"\t\t\tattachment:<word>\n"
- "\t\t\ttag:<tag>\n"
+ "\t\t\ttag:<tag> (or is:<tag>)\n"
"\t\t\tid:<message-id>\n"
"\t\t\tthread:<thread-id>\n"
"\n"
@@ -66,7 +66,7 @@ static const char search_terms_help[] =
"\t\tthe subject of an email. Quoted phrases are supported when\n"
"\t\tsearching with: subject:\"this is a phrase\".\n"
"\n"
- "\t\tFor tag:, valid tag values include \"inbox\" and \"unread\"\n"
+ "\t\tFor tag: and is:, valid tag values include \"inbox\" and \"unread\"\n"
"\t\tby default for new messages added by \"notmuch new\" as well\n"
"\t\tas any other tag values added manually with \"notmuch tag\".\n"
"\n"