mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
7110401595
This just affects how it's rendered; rather than attempting to highlight these blocks as a shell script, they'll get highlighted as console output. See the rendered versions for a better comparison.
20 lines
515 B
Markdown
20 lines
515 B
Markdown
*Jump to [source](demo.rs)*
|
|
|
|
**This requires enabling the `derive` feature flag.**
|
|
|
|
Used to validate README.md's content
|
|
```console
|
|
$ demo --help
|
|
clap [..]
|
|
A simple to use, efficient, and full-featured Command Line Argument Parser
|
|
|
|
USAGE:
|
|
demo[EXE] [OPTIONS] --name <NAME>
|
|
|
|
OPTIONS:
|
|
-c, --count <COUNT> Number of times to greet [default: 1]
|
|
-h, --help Print help information
|
|
-n, --name <NAME> Name of the person to greet
|
|
-V, --version Print version information
|
|
|
|
```
|