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 and test some reported issues #661

Merged
merged 2 commits into from
Nov 2, 2021
Merged

Conversation

phlptp
Copy link
Collaborator

@phlptp phlptp commented Oct 25, 2021

This PR will add a test for #550 (no fixes required)

and a test and fix for #549.

It adds an additional check and related error message for partially supplied types if the type size is a single number and greater than 1.

There is still an edge case where a vector of type with a range say 4 or 5 could be supplied with 6 arguments and would not generate an error. Catching that is somewhat more complicated and I am not entirely sure it is worth the check as in that circumstance would probably be better and clearer to change the expected to 1 and only allow one block per option specification.

@henryiii henryiii merged commit 8155532 into CLIUtils:main Nov 2, 2021
@github-actions github-actions bot added needs changelog Hasn't been added to the changelog yet needs README Needs to be mentioned in the README labels Nov 2, 2021
@henryiii henryiii removed the needs README Needs to be mentioned in the README label Feb 9, 2022
@henryiii henryiii removed the needs changelog Hasn't been added to the changelog yet label Mar 27, 2022
@phlptp phlptp deleted the issue_fixes branch March 11, 2023 01:26
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.

config_to_str does not work for tuple Options binding to std::vector of pair, tuple or array
2 participants