helptext template should return args.func(args) value.
This commit is contained in:
parent
112bb7cab6
commit
eb85ee688c
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ DOCSTRING = betterhelp.add_previews(DOCSTRING, SUB_DOCSTRINGS)
|
||||||
@betterhelp.subparser_betterhelp(parser, main_docstring=DOCSTRING, sub_docstrings=SUB_DOCSTRINGS)
|
@betterhelp.subparser_betterhelp(parser, main_docstring=DOCSTRING, sub_docstrings=SUB_DOCSTRINGS)
|
||||||
def main(argv):
|
def main(argv):
|
||||||
args = parser.parse_args(argv)
|
args = parser.parse_args(argv)
|
||||||
args.func(args)
|
return args.func(args)
|
||||||
|
|
||||||
]]></content>
|
]]></content>
|
||||||
<tabTrigger>helptext</tabTrigger>
|
<tabTrigger>helptext</tabTrigger>
|
||||||
|
|
Loading…
Reference in a new issue