2022-07-19 18:29:31 +00:00
|
|
|
```console
|
2022-08-08 19:05:08 +00:00
|
|
|
$ 03_01_flag_bool_derive --help
|
2022-07-19 18:29:31 +00:00
|
|
|
A simple to use, efficient, and full-featured Command Line Argument Parser
|
|
|
|
|
2022-09-07 16:03:55 +00:00
|
|
|
Usage: 03_01_flag_bool_derive[EXE] [OPTIONS]
|
2022-07-19 18:29:31 +00:00
|
|
|
|
2022-08-26 14:40:23 +00:00
|
|
|
Options:
|
2022-09-07 20:29:15 +00:00
|
|
|
-v, --verbose
|
2023-01-03 16:49:43 +00:00
|
|
|
-h, --help Print help
|
|
|
|
-V, --version Print version
|
2022-07-19 18:29:31 +00:00
|
|
|
|
2022-08-08 19:05:08 +00:00
|
|
|
$ 03_01_flag_bool_derive
|
2022-07-19 18:29:31 +00:00
|
|
|
verbose: false
|
|
|
|
|
2022-08-08 19:05:08 +00:00
|
|
|
$ 03_01_flag_bool_derive --verbose
|
2022-07-19 18:29:31 +00:00
|
|
|
verbose: true
|
|
|
|
|
2022-08-08 19:05:08 +00:00
|
|
|
$ 03_01_flag_bool_derive --verbose --verbose
|
2022-09-23 20:18:14 +00:00
|
|
|
? failed
|
2023-01-06 23:01:34 +00:00
|
|
|
error: the argument '--verbose' cannot be used multiple times
|
2022-09-23 20:18:14 +00:00
|
|
|
|
|
|
|
Usage: 03_01_flag_bool_derive[EXE] [OPTIONS]
|
|
|
|
|
2023-01-03 19:22:35 +00:00
|
|
|
For more information, try '--help'.
|
2022-07-19 18:29:31 +00:00
|
|
|
|
|
|
|
```
|