mirror of
https://github.com/clap-rs/clap
synced 2025-01-07 10:18:48 +00:00
11076a5c70
Force sorting with `next_display_order(None)` Fixes #2808
19 lines
498 B
Markdown
19 lines
498 B
Markdown
```console
|
|
$ demo --help
|
|
clap [..]
|
|
A simple to use, efficient, and full-featured Command Line Argument Parser
|
|
|
|
USAGE:
|
|
demo[EXE] [OPTIONS] --name <NAME>
|
|
|
|
OPTIONS:
|
|
-n, --name <NAME> Name of the person to greet
|
|
-c, --count <COUNT> Number of times to greet [default: 1]
|
|
-h, --help Print help information
|
|
-V, --version Print version information
|
|
|
|
$ demo --name Me
|
|
Hello Me!
|
|
|
|
```
|
|
*(version number and `.exe` extension on windows replaced by placeholders)*
|