You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the derive will automatically pick up doc comments. While the PR didn't explicitly add any code for that, it picked it up through shared code. I'm adding an explicit test for it.
Please complete the following tasks
Clap Version
3.1.14
Describe your use case
Would like something like this:
Describe the solution you'd like
I would ideally like
--help
to show the description of the variants (V1, V2, V3).Currently, it just shows the docstring for
v: Variants
Alternatives, if applicable
Could also work to have this be gated behind a derive arg attribute on the struct
Additional Context
No response
The text was updated successfully, but these errors were encountered: