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

Wrapper: add squeeze_whitespace option #48

Merged
merged 1 commit into from
May 19, 2017
Merged

Commits on May 18, 2017

  1. Wrapper: add squeeze_whitespace option

    With this option, whitespace between words can be significant. That
    is, whitespace added for alignment purposes can be kept in the output.
    This means that wrapping strings like
    
      -v:        be very verbose and output lots of messages
      --foo:     inject extra foos in the output
      --foobar:  enable the foobar optimization (if possible)
    
    can end up looking like
    
      -v:        be very verbose and
      output lots of messages
      --foo:     inject extra foos
      in the output
      --foobar:  enable the foobar
      optimization (if possible)
    
    Fixes #28. Related to clap-rs/clap#617.
    mgeisler committed May 18, 2017
    Configuration menu
    Copy the full SHA
    af89924 View commit details
    Browse the repository at this point in the history