summaryrefslogtreecommitdiffstats
path: root/command-line-arguments.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2017-07-01 12:18:44 -0300
committerDavid Bremner <david@tethera.net>2017-07-12 17:44:15 -0300
commitde9baa29dc990e4166b47dc2b0d0cf560014834b (patch)
tree3ba8df276687cd3e7a05d3bf77c8ccd1b714ff19 /command-line-arguments.h
parent15815d4e4c95e87f0bcabcaeb2577237609a6946 (diff)
cli: change api of parse_option
The idea is to allow it (in a future commit) advance to the next argv element to get a value
Diffstat (limited to 'command-line-arguments.h')
-rw-r--r--command-line-arguments.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/command-line-arguments.h b/command-line-arguments.h
index 309aaf2b..4c4d240e 100644
--- a/command-line-arguments.h
+++ b/command-line-arguments.h
@@ -70,8 +70,8 @@ parse_arguments (int argc, char **argv, const notmuch_opt_desc_t *options, int o
* functions.
*/
-notmuch_bool_t
-parse_option (const char *arg, const notmuch_opt_desc_t* options);
+int
+parse_option (int argc, char **argv, const notmuch_opt_desc_t* options, int opt_index);
notmuch_bool_t
parse_position_arg (const char *arg,