Print help by default

This commit is contained in:
Nico Schottelius 2019-05-12 11:29:58 +02:00
parent 19c0eead5c
commit 44a846a646
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ class ungleichCLI(object):
def commandline(self):
args = self.parser['main'].parse_args()
if 'func' in args:
args.func(args)
else:
self.parser['main'].print_help()
if __name__ == '__main__':