Skip to content
Snippets Groups Projects
Commit 833b9e21 authored by chrissi^'s avatar chrissi^
Browse files

Print help if no command is given

parent 5ea89d98
Branches master
No related tags found
No related merge requests found
......@@ -205,7 +205,10 @@ def main():
else:
loader = Loader()
args.func(args, loader)
if "func" in args:
args.func(args, loader)
else:
parser.print_help()
if __name__ == "__main__":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment