[Patch v2 4/4] cli: add standard option processing to config and setup

David Bremner david at tethera.net
Tue Apr 7 03:20:38 PDT 2015


Mark Walters <markwalters1009 at gmail.com> writes:

>
> Why "setup" here rather than argv[0] or similar? It seems inconsistent
> with the other cases.
>
> Best wishes
>
> Mark

You're right this deserves a comment. notmuch_setup_command is actually
called with argv=NULL (hence the unused (char * argv). The argument
types are constrained by the fact we use a table of function pointers to
dispatch.

d


More information about the notmuch mailing list