From 2cf7b27a0c4b4e746e2e40752c55ddb4d54798b2 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 30 Nov 2011 16:27:26 -0800 Subject: command-line-arguments.[ch]: new argument parsing framework for notmuch. As we noticed when Jani kindly converted things to getopt_long, much of the work in argument parsing in notmuch is due to the the key-value style arguments like --format=(raw|json|text). The framework here provides positional arguments, simple switches, and --key=value style arguments that can take a value being an integer, a string, or one of a set of keywords. --- notmuch-client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'notmuch-client.h') diff --git a/notmuch-client.h b/notmuch-client.h index b50cb38b..703f8561 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -238,4 +238,5 @@ notmuch_config_set_maildir_synchronize_flags (notmuch_config_t *config, notmuch_bool_t debugger_is_active (void); +#include "command-line-arguments.h" #endif -- cgit v1.2.3