Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix option groups #575

Merged

Conversation

hadzhiyski
Copy link
Contributor

  • Option groups take into account default value
  • Option groups can not be used with mutually exclusive set together
  • Multiple group errors are shown together

@moh-hassan moh-hassan merged commit 32bbe00 into commandlineparser:develop Feb 2, 2020
@moh-hassan
Copy link
Collaborator

@hadzhiyski ,
I tried the attached project after merging
Default is working fine.
When group and setname are included in the option, I get an Exception "Operation not allowed". The details of error is included in the sample.
Can you check this case.

issues.zip

@moh-hassan
Copy link
Collaborator

I had fixed the Exception issue. No action is needed.
Thanks @hadzhiyski for the PR.

@hadzhiyski hadzhiyski deleted the fix/group-default-value branch February 3, 2020 08:08
moh-hassan added a commit that referenced this pull request Feb 3, 2020
* Add MyGet package provider to consume the daily builds. (#566)

* Options groups take in account default value

* Do not allow options groups and exclusive set names to be used together

* Multiple group errors are shown together

* MissingGroupOptionError compare option names

Co-authored-by: Mohamed Hassan <moh.hassan20@gmail.com>
moh-hassan added a commit that referenced this pull request Feb 3, 2020
* Add MyGet package provider to consume the daily builds. (#566)

* Options groups take in account default value

* Do not allow options groups and exclusive set names to be used together

* Multiple group errors are shown together

* MissingGroupOptionError compare option names

Co-authored-by: Mohamed Hassan <moh.hassan20@gmail.com>
@moh-hassan moh-hassan added this to the 2.8 milestone Feb 19, 2020
moh-hassan added a commit that referenced this pull request Mar 11, 2020
* Add MyGet package provider to consume the daily builds. (#566)

* Options groups take in account default value

* Do not allow options groups and exclusive set names to be used together

* Multiple group errors are shown together

* MissingGroupOptionError compare option names

Co-authored-by: Mohamed Hassan <moh.hassan20@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants