Debian Codegraph @

third_party/rust/clap/examples/tutorial_builder/03_01_flag_count.md

raw
1 ```console
2 $ 03_01_flag_count --help
3 A simple to use, efficient, and full-featured Command Line Argument Parser
4
5 Usage: 03_01_flag_count[EXE] [OPTIONS]
6
7 Options:
8 -v, --verbose...
9 -h, --help Print help
10 -V, --version Print version
11
12 $ 03_01_flag_count
13 verbose: 0
14
15 $ 03_01_flag_count --verbose
16 verbose: 1
17
18 $ 03_01_flag_count --verbose --verbose
19 verbose: 2
20
21 ```