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}