]> rtime.felk.cvut.cz Git - notmuch.git/commit
cli: add support for hierarchical command line option arrays
authorJani Nikula <jani@nikula.org>
Wed, 5 Nov 2014 00:25:54 +0000 (01:25 +0100)
committerDavid Bremner <david@tethera.net>
Wed, 5 Nov 2014 22:17:00 +0000 (23:17 +0100)
commit4387112de00d27e6957ca2b6a268242f0bb5c756
treeb4a60cb6f04ca00062abb652d2ae99e2887a4915
parentf0dfceaf902681e7d5fd56a3c272a17a71996141
cli: add support for hierarchical command line option arrays

NOTMUCH_OPT_INHERIT expects a notmuch_opt_desc_t * pointer in
output_var.

The "Unrecognized option" message was moved out of parse_option() to
not be emitted twice or when parsing a non-inherited option.
command-line-arguments.c
command-line-arguments.h