mirror of
https://github.com/TangentFoxy/argparse.git
synced 2025-07-28 11:02:20 +00:00
Menition argparse.version in changelog and docs
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user