| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2012-03-18 | cli: Parsing. Allow true/false parameter for boolean options. | Mark Walters | |
| 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. | |||
| 2011-12-13 | command-line-arguments.[ch]: make arrays of keyword descriptors const | David Bremner | |
| It seems like it should never be necessary to modify these arrays after initialization. | |||
| 2011-12-08 | command-line-arguments.[ch]: new argument parsing framework for notmuch. | David Bremner | |
| As we noticed when Jani kindly converted things to getopt_long, much of the work in argument parsing in notmuch is due to the the key-value style arguments like --format=(raw|json|text). The framework here provides positional arguments, simple switches, and --key=value style arguments that can take a value being an integer, a string, or one of a set of keywords. | |||
