2
0
Fork 0
mirror of https://github.com/clap-rs/clap synced 2024-12-14 23:02:31 +00:00
clap/v3_occ_vs_vals.md

20 lines
240 B
Markdown
Raw Normal View History

2019-03-30 01:12:50 +00:00
# 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}