More properties for configuring usage and help messages

* `usage_margin`: sets margin for the second and following lines of
  usage string.
* `usage_max_width`: sets usage max width for autowrapping.
* `help_usage_margin`: sets margin for element usages in help string.
* `help_description`: sets margin for element descrptions in help string.
This commit is contained in:
Peter Melnichenko
2018-04-08 16:00:42 +03:00
parent a04899a485
commit 8a3faf3a3e
4 changed files with 95 additions and 14 deletions

View File

@@ -16,6 +16,10 @@
* 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` and `usage_max_width` properties for configuring
usage string autogeneration.
* Added `help_usage_margin` and `help_description_margin` properties
for configuring help string autogeneration.
### Improvements