-
Notifications
You must be signed in to change notification settings - Fork 24
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
Including Verbosity
adds the doc comment to the help output
#20
Comments
I just checked and it looks like this change occurred between structopt versions 0.3.5 and 0.3.7 (0.3.6 has been yanked). |
Verbosity
adds the docstring to the help outputVerbosity
adds the doc comment to the help output
Same error. Even using a doc comment in the struct it use clap_verbosity-flag doc comment yet. |
strcutopt lets you define the help string via doc-comments. Recently, they cleaned this up which introduced a bug where a chained struct wins out over the parent. So moving our doc-comment to the lib to workaround it. We should have the majority of the documentation on the lib anyways. Fixed clap-rs#20
This looks like a bug in structopt. I've created and issue over there (TeXitoi/structopt#333) and am working on a workaround for clap-verbosity-flag until then. |
v0.3.1 should now be released. |
Thanks @epage, it's working now! :D |
The simple example in the crate docs demonstrates the behaviour:
Then running:
Is this perhaps due to a new version of structopt?
The text was updated successfully, but these errors were encountered: