mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 08:37:16 +00:00
20 lines
240 B
Markdown
20 lines
240 B
Markdown
|
# Flags
|
||
|
|
||
|
-f?
|
||
|
-f*
|
||
|
-f{$0,3}: flags can't be required by default, hence always 0 or more (bounded/unbounded)
|
||
|
|
||
|
# Options
|
||
|
|
||
|
-o val
|
||
|
-o val?
|
||
|
-o val*
|
||
|
-o val+
|
||
|
-o val{0,3}
|
||
|
|
||
|
(-o val){0,3}
|
||
|
(-o val?){0,3}
|
||
|
(-o val*){0,3}
|
||
|
(-o val+){0,3}
|
||
|
(-o val{0,3}){0,3}
|