Commits

Jan Borsodi committed ec9c400

Doc entries for positional args are now displayed in help.

Comments (0)

Files changed (1)

                     action = posarg[4]
             arg = {"names": [plural],
                    "metavar": singular.lower()}
+            if doc:
+                arg["help"] = doc
             kind = type(default)
             arg["kind"] = kind
             if kind in (tuple, list):