[Question] Multiple arg pairs #1982
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
CreepySkeleton
Jun 23, 2020
Replies: 1 comment 3 replies
-
Um, probably |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
fxwiegand
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Um, probably
Arg::new("pairs").multiple(true).number_of_values(2)
? Then you can iterate through the pairs usingvalues_of("pairs")