added print help when no command
This commit is contained in:
parent
676e66dde6
commit
a6f1c8bd34
|
@ -27,6 +27,8 @@ def main():
|
||||||
TranscodeCommand(get_transcode_args(args)).run()
|
TranscodeCommand(get_transcode_args(args)).run()
|
||||||
elif args.subparser_name == "genhtml":
|
elif args.subparser_name == "genhtml":
|
||||||
GenHTMLCommand(get_genhtml_args(args)).run()
|
GenHTMLCommand(get_genhtml_args(args)).run()
|
||||||
|
else:
|
||||||
|
parser.print_help()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
Loading…
Reference in a new issue