From 7bfe0a48efa54cb66d63868a0240dd5472041ee1 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 3 May 2021 18:24:37 -0700 Subject: [PATCH] Use regular __doc__ instead of own DOCSTRING variable. So that help(operatornotify) works as expected. --- voussoirkit/operatornotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voussoirkit/operatornotify.py b/voussoirkit/operatornotify.py index 9bebe1c..12e34aa 100644 --- a/voussoirkit/operatornotify.py +++ b/voussoirkit/operatornotify.py @@ -1,4 +1,4 @@ -DOCSTRING = ''' +''' operatornotify ============== @@ -74,7 +74,7 @@ def main(argv): parser.add_argument('--body', default='') parser.set_defaults(func=operatornotify_argparse) - return betterhelp.single_main(argv, parser, DOCSTRING) + return betterhelp.single_main(argv, parser, __doc__) if __name__ == '__main__': raise SystemExit(main(sys.argv[1:]))