2021-11-30 12:30:19 -06:00
|
|
|
*Jump to [source](demo.rs)*
|
|
|
|
|
2021-12-08 16:46:49 -06:00
|
|
|
**This requires enabling the `derive` feature flag.**
|
|
|
|
|
2021-11-29 21:05:42 -06:00
|
|
|
Used to validate README.md's content
|
2022-01-05 17:54:33 +01:00
|
|
|
```console
|
2021-11-29 21:05:42 -06:00
|
|
|
$ demo --help
|
|
|
|
clap [..]
|
|
|
|
A simple to use, efficient, and full-featured Command Line Argument Parser
|
|
|
|
|
|
|
|
USAGE:
|
2021-12-07 15:34:23 -06:00
|
|
|
demo[EXE] [OPTIONS] --name <NAME>
|
2021-11-29 21:05:42 -06:00
|
|
|
|
|
|
|
OPTIONS:
|
2021-12-07 15:34:23 -06:00
|
|
|
-c, --count <COUNT> Number of times to greet [default: 1]
|
2021-11-29 21:05:42 -06:00
|
|
|
-h, --help Print help information
|
2021-12-07 15:34:23 -06:00
|
|
|
-n, --name <NAME> Name of the person to greet
|
2021-11-29 21:05:42 -06:00
|
|
|
-V, --version Print version information
|
2022-01-05 17:54:33 +01:00
|
|
|
|
2021-11-29 21:05:42 -06:00
|
|
|
```
|