[Patch v7 1/6] cli: command line parsing: allow default for keyword options

2012-06-03 Thread Mark Walters
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

[Patch v7 1/6] cli: command line parsing: allow default for keyword options

2012-06-03 Thread Mark Walters
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