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

fix(help): Always trim output #4156

Merged
merged 1 commit into from
Aug 31, 2022
Merged

fix(help): Always trim output #4156

merged 1 commit into from
Aug 31, 2022

Conversation

epage
Copy link
Member

@epage epage commented Aug 31, 2022

This ensures we don't end up with accidental leading or trailing
newlines due to help template variables not being used when a section is
empty.

This is prep for removing name/version from the default template and is
part of #4132

This ensures we don't end up with accidental leading or trailing
newlines due to help template variables not being used when a section is
empty.

This is prep for removing name/version from the default template and is
part of clap-rs#4132
@epage epage mentioned this pull request Aug 31, 2022
@epage epage merged commit 430202b into clap-rs:master Aug 31, 2022
@epage epage deleted the trim branch August 31, 2022 14:55
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.

1 participant