]> git.cworth.org Git - notmuch/commit
CLI/{count, dump, reindex, reply, show}: enable sexp queries
authorDavid Bremner <david@tethera.net>
Tue, 24 Aug 2021 15:17:43 +0000 (08:17 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 5 Sep 2021 00:07:19 +0000 (17:07 -0700)
commit2944d5913319056dfec5c23065932fd1c87a96f6
treeb4f7711a7ee1cbb46f54dd2a4a711ebff2bb5472
parenta2e7af5b6986bca5a2bb2752f892cb86a9767b3c
CLI/{count, dump, reindex, reply, show}: enable sexp queries

The change in each case is to call notmuch_query_create_with_syntax,
relying on the already inherited shared options.  As a bonus we get
improved error handling from the new query creation API.

The remaining subcommand is 'tag', which is a bit trickier.
notmuch-count.c
notmuch-dump.c
notmuch-reindex.c
notmuch-reply.c
notmuch-show.c
test/T060-count.sh
test/T220-reply.sh
test/T240-dump-restore.sh
test/T520-show.sh
test/T700-reindex.sh