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

docs: overriding multi-line usage #4106

Merged
merged 2 commits into from
Aug 25, 2022
Merged

Conversation

jpgrayson
Copy link
Contributor

Extend Command::override_usage() doc string to describe how to format
multiple usage lines to be compatible with clap's default help formatter.

Relates-to: #3413

Extend Command::override_usage() doc string to describe how to format
multiple usage lines to be compatible with clap's default help formatter.

Relates-to: clap-rs#3413
Copy link
Member

@epage epage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

src/builder/command.rs Outdated Show resolved Hide resolved
src/builder/command.rs Outdated Show resolved Hide resolved
jpgrayson added a commit to jpgrayson/clap that referenced this pull request Aug 24, 2022
@epage epage merged commit 2e2b63f into clap-rs:master Aug 25, 2022
@epage
Copy link
Member

epage commented Aug 25, 2022

Again, thanks!

This was merged into master which is for v4. If you want, you are welcome to backport this to the v3-master branch.

jpgrayson pushed a commit to jpgrayson/clap that referenced this pull request Aug 25, 2022
Backport clap-rs#4106 to v3-master branch.
jpgrayson added a commit to jpgrayson/clap that referenced this pull request Aug 25, 2022
Backport clap-rs#4106 to v3-master branch.
jpgrayson added a commit to jpgrayson/clap that referenced this pull request Aug 25, 2022
@jpgrayson jpgrayson deleted the doc-override-usage branch September 27, 2022 02:58
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.

2 participants