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

Clarify that the "body" part of the doc comment on a ValueEnum is ignored #4348

Merged
merged 4 commits into from Oct 4, 2022
Merged

Clarify that the "body" part of the doc comment on a ValueEnum is ignored #4348

merged 4 commits into from Oct 4, 2022

Conversation

mattmadeofpasta
Copy link
Contributor

PossibleValue does not have a long help text and the "body" part of the doc comment on a ValueEnum is ignored.

Improve a test case and the example to clarify this behavior.

examples/tutorial_builder/04_01_enum.md Outdated Show resolved Hide resolved
examples/tutorial_derive/04_01_enum.md Outdated Show resolved Hide resolved
@epage
Copy link
Member

epage commented Oct 4, 2022

Thanks!

@epage epage merged commit 9c21794 into clap-rs:master Oct 4, 2022
@mattmadeofpasta mattmadeofpasta deleted the clarify_no_long_help_text_for_possiblevalue branch October 4, 2022 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants