diff options
author | Carl Worth <cworth@cworth.org> | 2010-03-09 16:03:58 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-03-09 16:03:58 -0800 |
commit | e3046c688be7a28e7dcfbce5fa54074917fd9904 (patch) | |
tree | 439f3c1ea4ca7a15c5e18bd57dee54bd205d7c46 /lib/database.cc | |
parent | bbda0a015629d0a760d98b8d23888f50c9297a12 (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 'lib/database.cc')
-rw-r--r-- | lib/database.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/database.cc b/lib/database.cc index 88c85ed..c91e97c 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -147,6 +147,7 @@ prefix_t BOOLEAN_PREFIX_INTERNAL[] = { prefix_t BOOLEAN_PREFIX_EXTERNAL[] = { { "thread", "G" }, { "tag", "K" }, + { "is", "K" }, { "id", "Q" } }; |