aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2011-11-30 16:27:26 -0800
committerGravatar David Bremner <bremner@debian.org>2011-12-08 20:24:24 -0400
commit2cf7b27a0c4b4e746e2e40752c55ddb4d54798b2 (patch)
tree40bd47393fb1425c5005c046bd3afb3659bae70b /notmuch-client.h
parent80936b5f5895277ed1954a6bde04672120da760c (diff)
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.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h1
1 files changed, 1 insertions, 0 deletions
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