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