mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +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}
|