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 771 #772

Merged
merged 2 commits into from
Dec 9, 2016
Merged

Issue 771 #772

merged 2 commits into from
Dec 9, 2016

Conversation

kbknapp
Copy link
Member

@kbknapp kbknapp commented Dec 9, 2016

No description provided.

Since ZSH completions use `[ and ]` for descriptions, but clap args use `[ and ]` for possible
values and other auxillary arg information, this was creating a conflict. clap now escapes any
square brackets before writing the help, i.e. `\\[ and \\]` which removes conflicts.

Alternatives would be to switch `[ and ]` for `( and )` but this would create a slight difference
in help messages and completions.

Closes #771
@coveralls
Copy link

coveralls commented Dec 9, 2016

Coverage Status

Coverage increased (+0.02%) to 91.109% when pulling 7144419 on issue-771 into ff7febf on master.

@kbknapp
Copy link
Member Author

kbknapp commented Dec 9, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Dec 9, 2016

📌 Commit 7144419 has been approved by kbknapp

homu added a commit that referenced this pull request Dec 9, 2016
homu added a commit that referenced this pull request Dec 9, 2016
@homu
Copy link
Contributor

homu commented Dec 9, 2016

⌛ Testing commit 7144419 with merge ff5d1a7...

@homu
Copy link
Contributor

homu commented Dec 9, 2016

☀️ Test successful - status

@homu homu merged commit 7144419 into master Dec 9, 2016
@kbknapp kbknapp deleted the issue-771 branch December 18, 2016 22:12
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.

3 participants