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

Output for the help info uses extremely long lines #85

Closed
Lokathor opened this issue Dec 30, 2019 · 0 comments · Fixed by #101
Closed

Output for the help info uses extremely long lines #85

Lokathor opened this issue Dec 30, 2019 · 0 comments · Fixed by #101
Labels
bug Something isn't working

Comments

@Lokathor
Copy link

One example help screen is this:

D:\dev\wgpu-rs>cargo deny list --help
cargo-deny.exe-list 0.5.2
Outputs a listing of all licenses and the crates that use them

USAGE:
    cargo-deny.exe list [FLAGS] [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    This just determines if log messages are emitted, the log level specified at the top level still
                     applies

OPTIONS:
        --color <color>            Output coloring, only applies to 'human' format [default: auto]  [possible values:
                                   Always, Never, Auto]
    -f, --format <format>          The format of the output [default: human]  [possible values: Human, Json, Tsv]
    -l, --layout <layout>          The layout for the output, does not apply to TSV [default: license]  [possible
                                   values: Crate, License]
    -t, --threshold <threshold>    The confidence threshold required for license files to be positively identified: 0.0
                                   - 1.0 [default: 0.8]

This goes way out to 120, so on a standard 80 col terminal it gets wrapped awkwardly. Even when I put a terminal taking up half the width of my monitor it only ends up being 117 cols wide. Please make the help messages always fit properly within 80 cols, or check the terminal size and fit them to the current terminal size.

@Lokathor Lokathor added the bug Something isn't working label Dec 30, 2019
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 a pull request may close this issue.

1 participant