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

Default --help to print help and exit #61

Merged
merged 1 commit into from
Nov 23, 2019

Conversation

zhihaoy
Copy link
Contributor

@zhihaoy zhihaoy commented Nov 22, 2019

The change also fixes a rare bug introduced in 9007958:
when there are duplicated keys, insert_or_update overrides
previously inserted ones, emplace doesn't.

fixes: #59

The change also fixes a rare bug introduced in 9007958:
when there are duplicated keys, insert_or_update overrides
previously inserted ones, emplace doesn't.

fixes: p-ranav#59
@zhihaoy
Copy link
Contributor Author

zhihaoy commented Nov 22, 2019

You may want to push a (2.0.1?) release after this; the bug in #60 was pretty sad; it turned a backward-compatible change into a runtime silent breaking change /facepalm. Luckily 2.0 hasn't been submitted to Vcpkg.

@p-ranav p-ranav merged commit 473d550 into p-ranav:master Nov 23, 2019
@zhihaoy zhihaoy deleted the exit-on-help branch November 28, 2019 05:02
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.

--help should print help and exit rather than throwing exceptions
2 participants