mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
32b5520ff1
mitsuhiko immediately jumped into the examples and got tripped up by the lack of documentation on feature flags needed. I limited this to just the root ones because the rest are in a more proper tutorial that steps through it all.
512 B
512 B
Jump to source
This requires enabling the derive
feature flag.
Used to validate README.md's content
$ 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