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

Deprecate App::with_defaults() #692

Merged
merged 1 commit into from
Oct 17, 2016
Merged

Deprecate App::with_defaults() #692

merged 1 commit into from
Oct 17, 2016

Conversation

nabijaczleweli
Copy link
Contributor

@nabijaczleweli nabijaczleweli commented Oct 16, 2016

Closes #638

@@ -98,6 +98,7 @@ impl<'a, 'b> App<'a, 'b> {
/// [`crate_version!`]: ./macro.crate_version!.html
/// [`App::author`]: ./struct.App.html#method.author
/// [`App::version`]: ./struct.App.html#method.author
#[deprecated(since="2.14.1", note="Can never work; use explicit App::author() and App::version() calls instead")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not quite sure which version should be put here, as it should be the next released one (which is either gonna be 2.14.1 or 2.15.0)

Copy link
Member

Choose a reason for hiding this comment

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

As of right now the next one will be 2.14.1 so we're good here!

Following the discussion on #638 a consensus that it can never work
(and was a mistake in the first place) has been reached

Closes #638
@nabijaczleweli
Copy link
Contributor Author

Is @homu dead?

@kbknapp
Copy link
Member

kbknapp commented Oct 17, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Oct 17, 2016

📌 Commit 2608540 has been approved by kbknapp

homu added a commit that referenced this pull request Oct 17, 2016
…te, r=kbknapp

Deprecate App::with_defaults()

Closes #638
homu added a commit that referenced this pull request Oct 17, 2016
…te, r=kbknapp

Deprecate App::with_defaults()

Closes #638
@homu
Copy link
Contributor

homu commented Oct 17, 2016

⌛ Testing commit 2608540 with merge c9230c1...

@kbknapp
Copy link
Member

kbknapp commented Oct 17, 2016

Doesn't look like it?

@homu
Copy link
Contributor

homu commented Oct 17, 2016

☀️ Test successful - status

@homu homu merged commit 2608540 into clap-rs:master Oct 17, 2016
@nabijaczleweli
Copy link
Contributor Author

It seemed so for a while

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