2022-08-08 19:32:21 +00:00
|
|
|
```console
|
|
|
|
$ 03_02_option_mult --help
|
|
|
|
A simple to use, efficient, and full-featured Command Line Argument Parser
|
|
|
|
|
2022-08-26 14:40:23 +00:00
|
|
|
Usage:
|
2022-08-08 19:32:21 +00:00
|
|
|
03_02_option_mult[EXE] [OPTIONS]
|
|
|
|
|
2022-08-26 14:40:23 +00:00
|
|
|
Options:
|
2022-08-08 19:32:21 +00:00
|
|
|
-n, --name <name>
|
|
|
|
-h, --help Print help information
|
|
|
|
-V, --version Print version information
|
|
|
|
|
|
|
|
$ 03_02_option_mult
|
|
|
|
name: None
|
|
|
|
|
|
|
|
$ 03_02_option_mult --name bob
|
|
|
|
name: Some("bob")
|
|
|
|
|
|
|
|
$ 03_02_option_mult --name=bob
|
|
|
|
name: Some("bob")
|
|
|
|
|
|
|
|
$ 03_02_option_mult -n bob
|
|
|
|
name: Some("bob")
|
|
|
|
|
|
|
|
$ 03_02_option_mult -n=bob
|
|
|
|
name: Some("bob")
|
|
|
|
|
|
|
|
$ 03_02_option_mult -nbob
|
|
|
|
name: Some("bob")
|
|
|
|
|
|
|
|
```
|