Debian Codegraph @

third_party/rust/clap/examples/tutorial_builder/04_01_possible.md

raw
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 ```