-
Notifications
You must be signed in to change notification settings - Fork 396
Fix accept boolean options without values #1304 #1305
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 accept boolean options without values #1304 #1305
Conversation
Signed-off-by: David Pilar <david@czpilar.net>
|
Hi @czpilar , I was doing my last checks before releasing 4.0.1 and I noticed a regression which seems to be related to this PR. When I ask for help for a command with I see no need to create a new issue for that unless you think this error is not related to this PR. I will check on my side as well before releasing. |
|
@fmbenhassine will look at this... |
|
The regression was introduced in this commit: |
|
@fmbenhassine here is a quick fix in PR #1307 + added test |
Indeed, the code block at which the error happens which was lastly changed in this PR made me think it was related to this PR. Sorry for the noise.. Now I will go hide under my rock 🙈
Thank you for the quick fix! That was it. I seem to have inadvertently removed it in that commit. I will put it back. I am still bothered with the lack of test coverage for these cases (I will plan some improvements after 4.0.1). |
That is OK. No problem—these types of things happen. I was able to quickly identify the problem. So I've added there also test to prevent deletion of the code in future ;-) |
Resolves #1304