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

help: enable auto-wrapping of help output #9633

Merged
merged 2 commits into from
Jan 24, 2024
Merged

help: enable auto-wrapping of help output #9633

merged 2 commits into from
Jan 24, 2024

Commits on Jan 24, 2024

  1. help: enable auto-wrapping of help output

    Previously, without the 'wrap_help' feature enabled, Clap would not do
    any auto-wrapping of help text. For help text with long lines, this
    tends to lead to non-ideal formatting. It can be especially difficult to
    read when the width of the terminal is smaller.
    
    This commit enables 'wrap_help', which will automatically cause Clap to
    query the terminal size and wrap according to that. Or, if the terminal
    size cannot be determined, it will default to a maximum line width of
    100.
    
    Ref #9599 (comment)
    BurntSushi committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    bc6efeb View commit details
    Browse the repository at this point in the history
  2. docs: regenerate docs

    BurntSushi committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    92497ac View commit details
    Browse the repository at this point in the history