-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 text doesn't line up for options that accept multiple occurrences #760
Comments
Interesting, this a regression then and I'd thought I tested against it. Let me see if I can reproduce and I'll post back! |
@jimmycuadra I'm not able to reproduce this, could you like to the source that's causing it? If you look at |
Here is the clap code that produces the help output I pasted: https://github.com/InQuicker/kaws/blob/9c8786aebaca68bff3637973a7c6c8bf54697dda/src/cli.rs |
Ah ok, interesting, so it appears it only happens when those args are part of a subcommand. I've reproduced it, and should have it fixed soon 😉 |
The pot thickens, it's not because of subcommands at all. It's because of the line |
This is fixed in #762 and once that merges I'll upload v2.19.1 to crates.io |
You're amazing, as always. ❤️ |
Clap version: 2.19.0
Options that allow multiple occurrences have "..." appended to them, which results in the help text for those options not lining up with the others. Note the -i and -K options below:
The text was updated successfully, but these errors were encountered: