mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Merge pull request #115 from zamentur/patch-1
[fix] nargs + option should allows to set several args
This commit is contained in:
commit
6be319f387
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