cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Issues with flags marked as mutually exclusive during testing

Open consolethinks opened this issue 8 months ago • 1 comments

If I set up two flags as mutually exclusive, and I set one or the other in separate test runs, then Cobra will still think that I have set them at the same time. Their values will be set correctly, but the error message about mutual exclusivity remains.

Is there any way to get around this or to fix this?

consolethinks avatar Jun 19 '24 14:06 consolethinks