summaryrefslogtreecommitdiffstats
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-08-24 08:17:42 -0700
committerDavid Bremner <david@tethera.net>2021-09-04 17:07:19 -0700
commita2e7af5b6986bca5a2bb2752f892cb86a9767b3c (patch)
treedca54e6a7f0a141167e6530813f51b15be92f6d2 /notmuch-client.h
parent551254eb76c9bb558078f04f21df1f6089cb03d6 (diff)
CLI: move query syntax to shared option
This will allow easy addition of a query syntax option to other subcommands.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index f820791f..96d81166 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -487,6 +487,8 @@ print_status_gzbytes (const char *loc,
extern const notmuch_opt_desc_t notmuch_shared_options [];
+notmuch_query_syntax_t shared_option_query_syntax ();
+
void notmuch_process_shared_options (notmuch_database_t *notmuch, const char *subcommand_name);
int notmuch_minimal_options (const char *subcommand_name,
int argc, char **argv);