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

Revert "Remove {n} support" #3231

Merged
merged 1 commit into from
Dec 30, 2021
Merged

Revert "Remove {n} support" #3231

merged 1 commit into from
Dec 30, 2021

Conversation

epage
Copy link
Member

@epage epage commented Dec 30, 2021

This reverts commit 333b993.

PR #1810's motivation was effectively "this is redundant with \n".
That is a fine motivation. Unfortunately, we don't have a way to force
a hard break in clap_derive. #2389 should help with this eventually
but we shouldn't hold up 3.0 to get that ready. So in the mean time, we
are restoring {n}.

We have #3230 for tracking the re-removal of it.

This reverts commit 333b993.

PR clap-rs#1810's motivation was effectively "this is redundant with `\n`".
That is a fine motivation.  Unfortunately, we don't have a way to force
a hard break in `clap_derive`.  clap-rs#2389 should help with this eventually
but we shouldn't hold up 3.0 to get that ready.  So in the mean time, we
are restoring `{n}`.

We have clap-rs#3230 for tracking the re-removal of it.
@epage epage merged commit 81c636c into clap-rs:master Dec 30, 2021
@epage epage deleted the hardbreak branch December 30, 2021 18:14
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