mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 14:54:15 +00:00
tests(Possible Values): adds a test for --long=value possible values format
This commit is contained in:
parent
3d5e9a6ced
commit
35b348655c
1 changed files with 1 additions and 0 deletions
|
@ -258,6 +258,7 @@ cmds = {'help short: ': ['{} -h'.format(_bin), _help],
|
|||
'F2(ss),O(s),P: ': ['{} value -f -f -o some'.format(_bin), _f2op],
|
||||
'arg dym: ': ['{} --optio=foo'.format(_bin), _arg_dym_usage],
|
||||
'pv dym: ': ['{} --Option slo'.format(_bin), _pv_dym_usage],
|
||||
'pv dym(=): ': ['{} --Option=slo'.format(_bin), _pv_dym_usage],
|
||||
'O2(ll)P: ': ['{} value --option some --option other'.format(_bin), _o2p],
|
||||
'O2(l=l=)P: ': ['{} value --option=some --option=other'.format(_bin), _o2p],
|
||||
'O2(ss)P: ': ['{} value -o some -o other'.format(_bin), _o2p],
|
||||
|
|
Loading…
Reference in a new issue