mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Display help even if input is needed
This commit is contained in:
parent
fee3c7c47c
commit
50d0261b52
2 changed files with 20 additions and 18 deletions
|
@ -105,6 +105,8 @@ def parse_dict(action_map):
|
|||
|
||||
if 'ask' in arg_params:
|
||||
require_input = True
|
||||
if '-h' in sys.argv or '--help' in sys.argv:
|
||||
require_input = False
|
||||
if (category != sys.argv[1]) or (action != sys.argv[2]):
|
||||
require_input = False
|
||||
for name in arg_names:
|
||||
|
|
Loading…
Add table
Reference in a new issue