clap already supports all this: https://docs.rs/clap/latest/clap/struct.Arg.html#method.conflicts_with It's just a great library, having you could think of and applying the same parse-don't-validate mentality.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: