Skip to content

Conversation

@shadowspawn
Copy link
Member

@shadowspawn shadowspawn commented Jul 25, 2025

isUnknownOption was not checking short-option-groups before looking for short option groups. Noticed by code inspection while reviewing past and present unknown-options-as-args issues and code.

For amusement. Despite what you might expect, not a fix for #312.

Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bcoe
Copy link
Member

bcoe commented Jul 31, 2025

@shadowspawn bother you to rebase this, and we'll get a release out with all your changes 👏

@shadowspawn shadowspawn force-pushed the fix_unknown-options-as-arg_with_short-option-groups branch from e1951ea to d0e64e5 Compare July 31, 2025 22:54
@shadowspawn shadowspawn force-pushed the fix_unknown-options-as-arg_with_short-option-groups branch from d0e64e5 to e8ac0a4 Compare July 31, 2025 23:01
@shadowspawn
Copy link
Member Author

Done. (I will update #509 now too.)

@bcoe bcoe merged commit 60f2db5 into yargs:main Aug 1, 2025
8 checks passed
@shadowspawn shadowspawn deleted the fix_unknown-options-as-arg_with_short-option-groups branch October 17, 2025 03:16
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.

2 participants