Move add_previews call directly below sub_docstrings.
This commit is contained in:
parent
bad0a8518c
commit
ef62ed0dc9
1 changed files with 2 additions and 2 deletions
|
@ -17,6 +17,8 @@ $2:
|
||||||
'''.strip(),
|
'''.strip(),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
__doc__ = betterhelp.add_previews(__doc__, SUB_DOCSTRINGS)
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -28,8 +30,6 @@ log = vlogging.getLogger(__name__, '$1')
|
||||||
def $2_argparse(args):
|
def $2_argparse(args):
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
__doc__ = betterhelp.add_previews(__doc__, SUB_DOCSTRINGS)
|
|
||||||
|
|
||||||
@vlogging.main_decorator
|
@vlogging.main_decorator
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser(description=__doc__)
|
parser = argparse.ArgumentParser(description=__doc__)
|
||||||
|
|
Loading…
Reference in a new issue