Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not wrap long options #20

Merged
merged 1 commit into from
Sep 29, 2022
Merged

Do not wrap long options #20

merged 1 commit into from
Sep 29, 2022

Conversation

hamdanal
Copy link
Owner

Fixes #12

  • The formatter now expands options to the right instead of wrapping them similar to what HelpFormatter does.
  • Also since since the formatter now renders properly even with small max_help_position, it was restored to the original default.
  • The undocumented RichHelpFormatter.renderables property was deleted.

@hamdanal hamdanal added the bug Something isn't working label Sep 29, 2022
* The formatter now expands options to the right instead of wrapping
them similar to what HelpFormatter does.
* Also since since the formatter now renders properly even with small
`max_help_position`, it was restored to the original default.
* The undocumented RichHelpFormatter.renderables property was deleted.
@hamdanal hamdanal merged commit 0066090 into main Sep 29, 2022
@hamdanal hamdanal deleted the wrapping-long-options branch September 29, 2022 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect line breaks put metavars on a new row all alone, detached from the argument
1 participant