Move add_previews call directly below sub_docstrings.

This commit is contained in:
voussoir 2021-09-30 19:37:31 -07:00
parent bad0a8518c
commit ef62ed0dc9
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -17,6 +17,8 @@ $2:
'''.strip(),
)
__doc__ = betterhelp.add_previews(__doc__, SUB_DOCSTRINGS)
import argparse
import sys
@ -28,8 +30,6 @@ log = vlogging.getLogger(__name__, '$1')
def $2_argparse(args):
return 0
__doc__ = betterhelp.add_previews(__doc__, SUB_DOCSTRINGS)
@vlogging.main_decorator
def main(argv):
parser = argparse.ArgumentParser(description=__doc__)