cli: Parsing. Allow true/false parameter for boolean options.
authorMark Walters <markwalters1009@gmail.com>
Sat, 10 Mar 2012 11:05:32 +0000 (11:05 +0000)
committerDavid Bremner <bremner@debian.org>
Sun, 18 Mar 2012 12:14:22 +0000 (09:14 -0300)
commitb3e4417897f5b27883513c4714f7e84e377b5f5b
treedfb52d9a61d18885483593099fc0336c1630301f
parentdb97cb5b65dc519d2bd02741a6294fdb7dd74459
cli: Parsing. Allow true/false parameter for boolean options.

Allow NOTMUCH_OPT_BOOLEAN to take a true or false parameter.  In
particular it allows the user to turn off a boolean option with
--option=false.
command-line-arguments.c