Skip to content

fix: unknown-options-as-args should treat negated boolean as unknown when boolean-negation:false #509

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shadowspawn
Copy link
Member

The code for isUnknownOption was not taking configuration boolean-negation into account.

Fixes #376

Note: this code touches same lines as #508, and will need updating when that lands.

@shadowspawn shadowspawn force-pushed the fix-no-negated-with-unknown branch from 8620a5e to f85e0c8 Compare July 31, 2025 23:12
@shadowspawn
Copy link
Member Author

(Rebased.)

@shadowspawn
Copy link
Member Author

I think a bogus CI failure, but was able to rerun jobs... Passed.

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.

boolean-negation + unknown-options-as-args strange behaviour
2 participants