-
I want to get some advice how to express e.g. Assume
|
Beta Was this translation helpful? Give feedback.
Answered by
zzz845zz
Feb 4, 2021
Replies: 3 comments 7 replies
-
https://docs.rs/clap/2.33.3/clap/struct.Arg.html#method.required_ifs |
Beta Was this translation helpful? Give feedback.
7 replies
-
For more simply, The examples below are what i want If (arg1==1 && arg==2) {
// use arg3!!
} else {
// don't use arg3!!
} If (extra=="val" && option=="spec") {
// use cfg!!
} else {
// don't use cfg!!
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
I created the feature request issue #2326 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pksunkara
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created the feature request issue #2326