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

Add blank line between items in long help #2058

Merged
merged 3 commits into from
Aug 12, 2020

Conversation

mkantor
Copy link
Contributor

@mkantor mkantor commented Aug 11, 2020

Closes #1642

Copy link
Member

@pksunkara pksunkara left a comment

Choose a reason for hiding this comment

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

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 11, 2020

🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set.

@bors
Copy link
Contributor

bors bot commented Aug 12, 2020

Build succeeded:

@bors bors bot merged commit 9185366 into clap-rs:master Aug 12, 2020
@mkantor mkantor deleted the fix-1642-long-help-spacing branch August 12, 2020 01:20
/// -V, --version
/// Prints version information
/// -h, --help
/// Prints help information
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is there additional space in the start of the line now?

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, looks like it is also there in other applications.

Copy link
Member

Choose a reason for hiding this comment

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

The original doc is wrongly indented apparently.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I just fixed it while I was here since it was my test case. The binary name was wrong too.

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.

Add blank line between items in long help
3 participants