mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] nargs + option should allows to set several args
This commit is contained in:
parent
5d92898ee7
commit
93cd2c2454
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue