Print help if no arguments are provided
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
d91e2ce0e6
commit
7b83fd40b8
@ -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():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user