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

Avoid clobbering CFGF_RESET when cfg_setmulti fails #135

Merged
merged 2 commits into from Mar 18, 2020

Conversation

peda-r
Copy link
Contributor

@peda-r peda-r commented Mar 17, 2020

It is desirable to fail gracefully and leave the configuration unaffected by imperfect input. Remember that cfg_setmulti is the heart of the cli example and needs to fail as gracefully as possible since it is used to parse end user input.

Signed-off-by: Peter Rosin <peda@axentia.se>
It is desirable to fail gracefully and leave the configuration
unaffected by imperfect input. Remember that cfg_setmulti is the
heart of the cli example and needs to fail as gracefully as
possible since it is used to parse end user input.

Signed-off-by: Peter Rosin <peda@axentia.se>
@troglobit troglobit merged commit 0889ad5 into libconfuse:master Mar 18, 2020
@peda-r peda-r deleted the setmulti-reset branch March 18, 2020 10:42
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.

None yet

2 participants