mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
auto-append -h
This commit is contained in:
parent
98ada0253e
commit
508aec5c84
2 changed files with 7 additions and 4 deletions
|
@ -161,6 +161,9 @@ def main():
|
||||||
int -- 0 or error code
|
int -- 0 or error code
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
if len(sys.argv) < 2:
|
||||||
|
sys.argv.append('-h')
|
||||||
|
|
||||||
with open('action_map.yml') as f:
|
with open('action_map.yml') as f:
|
||||||
action_map = yaml.load(f)
|
action_map = yaml.load(f)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue