[fix] nargs + option should allows to set several args

This commit is contained in:
zamentur 2014-12-14 17:15:50 +01:00
parent 5d92898ee7
commit 93cd2c2454

View file

@ -120,7 +120,7 @@ def main():
allow_multiple = True allow_multiple = True
required = False required = False
if arg_params['nargs'] == '+': if arg_params['nargs'] == '+':
allow_multiple = False allow_multiple = True
required = True required = True
else: else:
allow_multiple = False allow_multiple = False