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

Enable auto-wrapping of --help output #3058

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Enable auto-wrapping of --help output #3058

merged 1 commit into from
Apr 16, 2024

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Apr 16, 2024

Summary

Fixes #3057

On main, with a narrow terminal:

  • image

  • image

  • image

  • image

With PR:

  • image

  • image

  • image

  • image

Test Plan

See screenshots in the summary

@AlexWaygood AlexWaygood added the cli Related to the command line interface label Apr 16, 2024
@AlexWaygood
Copy link
Member Author

(Basically an identical PR to the change we made at Ruff in astral-sh/ruff#9633)

@charliermarsh charliermarsh merged commit 66e420f into main Apr 16, 2024
38 checks passed
@charliermarsh charliermarsh deleted the wrap-help branch April 16, 2024 12:54
@charliermarsh
Copy link
Member

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can the --help output be wrapped differently?
2 participants