From ef62ed0dc9cc89546cd181f2ceae9b11b259517b Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 30 Sep 2021 19:37:31 -0700 Subject: [PATCH] Move add_previews call directly below sub_docstrings. --- voussoir/boilerplate_multi.sublime-snippet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voussoir/boilerplate_multi.sublime-snippet b/voussoir/boilerplate_multi.sublime-snippet index 7369e0c..16d1565 100644 --- a/voussoir/boilerplate_multi.sublime-snippet +++ b/voussoir/boilerplate_multi.sublime-snippet @@ -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__)