-
Notifications
You must be signed in to change notification settings - Fork 82
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] Prohibit long-option value pairs without a separation. #1792
[FIX] Prohibit long-option value pairs without a separation. #1792
Conversation
And also please add a changelog entry |
Codecov Report
@@ Coverage Diff @@
## master #1792 +/- ##
=======================================
Coverage 97.51% 97.51%
=======================================
Files 247 247
Lines 9401 9401
=======================================
Hits 9167 9167
Misses 234 234
Continue to review full report at Codecov.
|
9ea67f9
to
e3ff068
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! I am wondering if there are some tests missing?! Otherwise a suggestion for a lean lambda function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor things left
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be merged after rebase and fixing the last column. Thank you
d5a0fe0
to
e97ad03
Compare
For example, given the long option name "--opt", then "--optValue" was possible. This caused ambiguities if one long option name is the prefix of another. We now only allow "--opt Value" and "--opt=value".
e97ad03
to
96b9349
Compare
For example, given the long option name "--opt", then "--optValue" was
possible. This caused ambiguities if one long option name is the prefix
of another. We now only allow "--opt Value" and "--opt=value".
Fixes #1544