]> git.cworth.org Git - notmuch/commit
cli: command line parsing: allow default for keyword options
authorMark Walters <markwalters1009@gmail.com>
Sat, 16 Jun 2012 10:21:42 +0000 (11:21 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 30 Jun 2012 01:31:40 +0000 (22:31 -0300)
commit779ce3e9300c8f656e798ee77459b4425dbf35a6
treec773d711dbf00ab5872ada9da34577c0d1d6b81d
parentd796dad4edce71c1cfb245ffd2c438f26c84f804
cli: command line parsing: allow default for keyword options

This changes the parsing for "keyword" options so that if the option
is specified with no argument the argument is parsed as if it were
passed an empty string. This make it easier to add options to existing
boolean arguments (the existing --option can default to TRUE).
command-line-arguments.c