helptext template should return args.func(args) value.

This commit is contained in:
Ethan Dalool 2020-02-08 16:19:22 -08:00
parent 112bb7cab6
commit eb85ee688c

View file

@ -28,7 +28,7 @@ DOCSTRING = betterhelp.add_previews(DOCSTRING, SUB_DOCSTRINGS)
@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)
]]></content>
<tabTrigger>helptext</tabTrigger>