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
|
2024-04-15 17:20:41 +00:00
|
|
|
names: []
|
2022-08-08 19:32:21 +00:00
|
|
|
|
|
|
|
$ 03_02_option_mult --name bob
|
2024-04-15 17:20:41 +00:00
|
|
|
names: ["bob"]
|
2022-08-08 19:32:21 +00:00
|
|
|
|
2024-04-15 17:20:41 +00:00
|
|
|
$ 03_02_option_mult --name bob --name john
|
|
|
|
names: ["bob", "john"]
|
2022-08-08 19:32:21 +00:00
|
|
|
|
2024-04-15 17:20:41 +00:00
|
|
|
$ 03_02_option_mult_derive --name bob --name=john -n tom -n=chris -nsteve
|
|
|
|
name: ["bob", "john", "tom", "chris", "steve"]
|
2022-08-08 19:32:21 +00:00
|
|
|
|
|
|
|
```
|