Merge pull request #115 from zamentur/patch-1

[fix] nargs + option should allows to set several args
This commit is contained in:
Alexis Gavoty 2014-12-15 12:19:24 +01:00
commit 6be319f387

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