New features:
- An array of functions can now be as the value of
convert
property,
so that multi-argument options can use different conversion rules
for different arguments (#14). - Mutexes can now include positional arguments (#11).
- Added
hidden
property for arguments, options and commands,
removing them from the autogenerated usage and help strings. - Added
:group(name, ...)
method to Parser and Command objects, allowing
custom grouping of arguments, options, and commands in autogenerated
help string. - Added
help_vertical_space
property for configuring number of extra
newlines between help strings for different arguments and options in
autogenerated help string. - Added
usage_margin
andusage_max_width
properties for configuring
usage string autogeneration. - Added
help_usage_margin
andhelp_description_margin
properties
for configuring help string autogeneration. - Added
help_max_width
property. If set, descriptions in help string
are automatically wrapped to fit into given number of columns. - Argparse version is now available as
argparse.version
.
Improvements: