mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
23 lines
364 B
Markdown
23 lines
364 B
Markdown
|
```console
|
||
|
$ 03_03_positional --help
|
||
|
clap [..]
|
||
|
A simple to use, efficient, and full-featured Command Line Argument Parser
|
||
|
|
||
|
USAGE:
|
||
|
03_03_positional[EXE] [NAME]
|
||
|
|
||
|
ARGS:
|
||
|
<NAME>
|
||
|
|
||
|
OPTIONS:
|
||
|
-h, --help Print help information
|
||
|
-V, --version Print version information
|
||
|
|
||
|
$ 03_03_positional
|
||
|
NAME: None
|
||
|
|
||
|
$ 03_03_positional bob
|
||
|
NAME: Some("bob")
|
||
|
|
||
|
```
|