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

Update clap to the latest v3 version #1537

Closed
wants to merge 1 commit into from
Closed

Update clap to the latest v3 version #1537

wants to merge 1 commit into from

Conversation

karbyshev
Copy link
Contributor

@karbyshev karbyshev commented Jun 12, 2023

Closes #64

@karbyshev karbyshev self-assigned this Jun 12, 2023
@karbyshev karbyshev changed the title Update clap to v3.0.13 Update clap to the latest v3 version Jun 14, 2023
@@ -257,7 +257,9 @@ where
<T as FromStr>::Err: Debug,
{
pub fn def(&self) -> ClapArg {
ClapArg::new(self.name).long(self.name).multiple(true)
Copy link
Contributor Author

@karbyshev karbyshev Jun 14, 2023

Choose a reason for hiding this comment

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

pub fn multiple(self, yes: bool) -> Self
Deprecated since 3.0.0: Split into Arg::multiple_occurrences (most likely what you want) and Arg::multiple_values

@tzemanovic
Copy link
Member

let's update to v4 - there's a migration guide in https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#400---2022-09-28

@karbyshev
Copy link
Contributor Author

Included in #1580

@karbyshev karbyshev closed this Jun 16, 2023
@karbyshev karbyshev deleted the aleks/clap-up branch March 8, 2024 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update clap to stable release
2 participants