aboutsummaryrefslogtreecommitdiff
path: root/cli/cli-test.c
Commit message (Collapse)AuthorAge
* cli-opts: change return code for bad args errorsHEADmasterYaroslav de la Peña Smirnov3 days
| | | | Let's make it more consistent.
* cli: make long and ulong options more strictYaroslav de la Peña Smirnov3 days
| | | | Also add unit tests for them.
* clang-format: align with spacesYaroslav de la Peña Smirnov6 days
| | | | Also format cli after the changes.
* cli: header with extra option implementationsYaroslav de la Peña Smirnov6 days
| | | | For now just one, `struct cli_opt_data_size`.
* cli: make it possible to extend option typesYaroslav de la Peña Smirnov7 days
| | | | | Make it possible to extend options with custom value parsers by embeding `struct cli_opt` into a custom struct and setting the `set()` "method".
* cli.h: a simple command-line parserYaroslav de la Peña Smirnov7 days
A simple command-line commands and options parser.