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

Issue 617 #650

Merged
merged 6 commits into from
Sep 7, 2016
Merged

Issue 617 #650

merged 6 commits into from
Sep 7, 2016

Conversation

kbknapp
Copy link
Member

@kbknapp kbknapp commented Sep 7, 2016

No description provided.

…nd properly re-aligns text, but still wraps if the term width is too small

Prior to this commit, clap would mangle help messages with hard newlines
(see #617). After this commit, clap will ignore hard newlines and treat
them like an inserted newline, properly wrapping and aligning text and
then restarting it's count until the next newline should be inserted.

This commit also removes the need for using `{n}` to insert a newline in
help text, now the traditional `\n` can be used. For backwards
compatibility, the `{n}` still works.

Closes #617
@yo-bot
Copy link

yo-bot commented Sep 7, 2016

r? @sru

(yo-bot has picked a reviewer for you, use r? to override)

@kbknapp
Copy link
Member Author

kbknapp commented Sep 7, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Sep 7, 2016

📌 Commit 2e99e22 has been approved by kbknapp

homu added a commit that referenced this pull request Sep 7, 2016
homu added a commit that referenced this pull request Sep 7, 2016
@homu
Copy link
Contributor

homu commented Sep 7, 2016

⌛ Testing commit 2e99e22 with merge 345e0e3...

@homu
Copy link
Contributor

homu commented Sep 7, 2016

☀️ Test successful - status

@homu homu merged commit 2e99e22 into master Sep 7, 2016
@kbknapp kbknapp deleted the issue-617 branch September 13, 2016 02:36
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.

6 participants