Skip to content

incorrect multiple parameter assignment #2259

Answered by pksunkara
vanhauser-thc asked this question in Q&A
Discussion options

You must be logged in to vote

What exactly did you have trouble in the template with? We built such that even a new user to rust and clap should be able to follow it.

We fixed this particular issue in v3 using https://docs.rs/clap/3.0.0-beta.2/clap/struct.Arg.html#method.multiple_occurrences.

Replace multiple with the above method.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pksunkara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2259 on December 17, 2020 20:33.