Menition argparse.version in changelog and docs

This commit is contained in:
Peter Melnichenko
2018-04-13 22:03:42 +03:00
parent 446280b776
commit 3b173daf9f
2 changed files with 6 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
for configuring help string autogeneration. for configuring help string autogeneration.
* Added `help_max_width` property. If set, descriptions in help string * Added `help_max_width` property. If set, descriptions in help string
are automatically wrapped to fit into given number of columns. are automatically wrapped to fit into given number of columns.
* Argparse version is now available as `argparse.version`.
### Improvements ### Improvements

View File

@@ -1,6 +1,11 @@
Miscellaneous Miscellaneous
============= =============
Argparse version
----------------
``argparse`` module is a table with ``__call`` metamethod. ``argparse.version`` is a string in ``MAJOR.MINOR.PATCH`` format specifying argparse version.
Overwriting default help option Overwriting default help option
------------------------------- -------------------------------