You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplified a few argparse examples and fixed some incorrect documentation
I eliminated a few "narg=1" configurations so that a single str value is returned instead of a List[str].
I also reworded some documentation which was no longer correct after the last commit which made "history command" have the same help text as "command -h" when using one of the two argparse decorators.
@@ -85,14 +86,15 @@ The ``help tag`` command displays:
85
86
-h, --help show this help message and exit
86
87
87
88
88
-
If you would prefer the short description of your command to come after the usage message, leave the docstring on your method empty, but supply a ``description`` variable to the argument parser::
89
+
If you would prefer you can set the ``description`` while instantiating the ``argparse.ArgumentParser`` and leave the
90
+
docstring on your method empty::
89
91
90
92
argparser = argparse.ArgumentParser(description='create an html tag')
0 commit comments