mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
7eea7d27ad
When an Arg uses .min_values(0), that arg's value(s) are effectively optional. This is conventionaly denoted in help messages by wrapping the arg's values in square brackets. For example: --foo[=value] --bar [value] This kind of argument can be seen in the wild in many git commands; e.g. git-status(1). Signed-off-by: Peter Grayson <pete@jpgrayson.net> |
||
---|---|---|
.. | ||
builder | ||
derive | ||
derive_ui | ||
app.yml | ||
derive_ui.rs | ||
examples.rs | ||
macros.rs | ||
yaml.rs |