cli: define shared options, use for --help and --version
authorDavid Bremner <david@tethera.net>
Sun, 5 Apr 2015 13:13:03 +0000 (22:13 +0900)
committerDavid Bremner <david@tethera.net>
Mon, 1 Jun 2015 05:32:54 +0000 (07:32 +0200)
commit0018a8d787a98f80c665061daa9b0c73839d3666
treec24386a37b845ae5f400bcb4bbb178c06af31b75
parent0706e0e3e2da9abf0487ec91a505de82cf5e5c10
cli: define shared options, use for --help and --version

Unfortunately it seems trickier to support --config globally

The non-trivial changes are in notmuch.c; most of the other changes
consists of blindly inserting two lines into every subcommand.
12 files changed:
notmuch-client.h
notmuch-compact.c
notmuch-count.c
notmuch-dump.c
notmuch-insert.c
notmuch-new.c
notmuch-reply.c
notmuch-restore.c
notmuch-search.c
notmuch-show.c
notmuch-tag.c
notmuch.c