diff --git a/epubfile.py b/epubfile.py index a08d626..0aec2b2 100644 --- a/epubfile.py +++ b/epubfile.py @@ -1539,7 +1539,7 @@ p_normalize.set_defaults(func=normalize_argparse) @betterhelp.subparser_betterhelp(parser, main_docstring=DOCSTRING, sub_docstrings=SUB_DOCSTRINGS) def main(argv): args = parser.parse_args(argv) - args.func(args) + return args.func(args) if __name__ == '__main__': raise SystemExit(main(sys.argv[1:]))