mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
364 B
364 B
$ 03_05_default_values --help
A simple to use, efficient, and full-featured Command Line Argument Parser
Usage: 03_05_default_values[EXE] [PORT]
Arguments:
[PORT] [default: 2020]
Options:
-h, --help Print help information
-V, --version Print version information
$ 03_05_default_values
port: 2020
$ 03_05_default_values 22
port: 22