Print help if no arguments are provided

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2017-06-15 21:45:45 +02:00 committed by Daniel Wagner
parent d91e2ce0e6
commit 7b83fd40b8

View File

@ -90,7 +90,9 @@ def kas(argv):
for cmd in sub_cmds: for cmd in sub_cmds:
if cmd.run(args): if cmd.run(args):
break return
parser.print_help()
def main(): def main():