diff options
author | David Bremner <david@tethera.net> | 2015-04-06 05:34:55 +0900 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2015-06-01 07:32:54 +0200 |
commit | 447ad6b4984c71881b7f97641c77f0a39b71a991 (patch) | |
tree | fec61c03ae38f2d57a1483fe6aaf9f9ff080ac7d /notmuch-client.h | |
parent | 0018a8d787a98f80c665061daa9b0c73839d3666 (diff) |
cli: add standard option processing to config, help and setup
In particular this fixes a recently encountered bug where the
"--config" argument to "notmuch setup" is silently ignored, which the
unpleasant consequence of overwriting the users config file.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index 8ecfac6b..78680aa1 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -468,4 +468,6 @@ notmuch_database_dump (notmuch_database_t *notmuch, #include "command-line-arguments.h" extern const notmuch_opt_desc_t notmuch_shared_options []; void notmuch_process_shared_options (const char* subcommand_name); +int notmuch_minimal_options (const char* subcommand_name, + int argc, char **argv); #endif |