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. --- Makefile.local | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.local') diff --git a/Makefile.local b/Makefile.local index 15e6d882..28e371a8 100644 --- a/Makefile.local +++ b/Makefile.local @@ -295,6 +295,7 @@ clean: distclean: clean notmuch_client_srcs = \ + command-line-arguments.c\ debugger.c \ gmime-filter-reply.c \ gmime-filter-headers.c \ -- cgit v1.2.3