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-09-07 16:03:55 +00:00
|
|
|
Usage: 03_02_option_mult[EXE] [OPTIONS]
|
2022-08-08 19:32:21 +00:00
|
|
|
|
2022-08-26 14:40:23 +00:00
|
|
|
Options:
|
2022-09-07 20:29:15 +00:00
|
|
|
-n, --name <name>
|
2023-01-03 16:49:43 +00:00
|
|
|
-h, --help Print help
|
|
|
|
-V, --version Print version
|
2022-08-08 19:32:21 +00:00
|
|
|
|
|
|
|
$ 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")
|
|
|
|
|
|
|
|
```
|