]> git.proxmox.com Git - rustc.git/blob - vendor/clap/examples/tutorial_builder/04_01_possible.md
bump version to 1.75.0+dfsg1-1~bpo12+pve1
[rustc.git] / vendor / clap / examples / tutorial_builder / 04_01_possible.md
1 ```console
2 $ 04_01_possible --help
3 A simple to use, efficient, and full-featured Command Line Argument Parser
4
5 Usage: 04_01_possible[EXE] <MODE>
6
7 Arguments:
8 <MODE> What mode to run the program in [possible values: fast, slow]
9
10 Options:
11 -h, --help Print help
12 -V, --version Print version
13
14 $ 04_01_possible fast
15 Hare
16
17 $ 04_01_possible slow
18 Tortoise
19
20 $ 04_01_possible medium
21 ? failed
22 error: invalid value 'medium' for '<MODE>'
23 [possible values: fast, slow]
24
25 For more information, try '--help'.
26
27 ```