Print help by default

This commit is contained in:
Nico Schottelius 2019-05-12 11:29:58 +02:00
parent 19c0eead5c
commit 44a846a646

View file

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