question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exclusive or relationship

See original GitHub issue

With the release of 2.8.0. I see that https://github.com/commandlineparser/commandline/pull/575 changed it so you can’t use Groups and SetNames together. Is there a reason that was removed?

Using both together achieved an XOR relationship that was useful. If say, I want at least one option in a group to be required but you can’t use the other options in that group at the same time.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
moh-hassancommented, May 20, 2020

Glad that you resolved your issue. 👍

1reaction
jjzievecommented, May 20, 2020

Oh you’re right, it seems setting Required = true without the group works to achieve XOR. I thought it didn’t before but must’ve been my mistake. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exclusive Dating Vs. A Relationship
“Simply put, dating exclusively means both people are only focused on one another. They're not juggling other people,” Concepcion says. Related ...
Read more >
What Does It Mean to Be in an Exclusive Relationship?
An exclusive relationship is where both partners agree to focus on each other and not see other people. “An exclusive relationship is typically ......
Read more >
Dating Exclusively vs a Relationship
Being exclusive allows them to take things at their own pace. It can mean that they won't rush into something before they're truly...
Read more >
What Does It Mean To Be In An Exclusive Relationship?
An exclusive relationship typically means you and your partner are not dating other people. Deciding to be in an exclusive relationship ...
Read more >
5 Things You Should Know About Being in an Exclusive ...
An exclusive relationship is all about being monogamous — meaning, you're exclusively committed to one person. You've been dating someone ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found