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

docs: Update multiline usage override rules #4267

Merged
merged 1 commit into from Sep 27, 2022

Commits on Sep 27, 2022

  1. docs: Update multiline usage override rules

    The styling of usage has changed in clap-rs#4188 such that the usage string is on
    the same line as the "Usage:" title. Previously, the usage went on the line
    below the title. As such, the rules have changed for how to make a
    multiline usage format correctly.
    
    These updated rules achieve the following output for the documented
    example:
    
        Usage: myapp -X [-a] [-b] <file>
               myapp -Y [-c] <file1> <file2>
               myapp -Z [-d|-e]
    
    Relates-to: clap-rs#4132
    jpgrayson committed Sep 27, 2022
    Copy the full SHA
    7dd216b View commit details
    Browse the repository at this point in the history