Skip to content

Conversation

@cachemeifyoucan
Copy link
Collaborator

Fix subcommand detection when subcommand used with positional arguments.
When there is only one valid subcommand passed,
ArgList::getSubCommand() should return the correct subcommand even
there are other positionals passed.

Created using spr 1.3.7
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

Created using spr 1.3.7
@cachemeifyoucan cachemeifyoucan merged commit 41825fb into main Nov 7, 2025
10 checks passed
@cachemeifyoucan cachemeifyoucan deleted the users/cachemeifyoucan/spr/option-fix-simple-subcommand-with-positional-arguments branch November 7, 2025 04:57
vinay-deshmukh pushed a commit to vinay-deshmukh/llvm-project that referenced this pull request Nov 8, 2025
Fix subcommand detection when subcommand used with positional arguments.
When there is only one valid subcommand passed,
`ArgList::getSubCommand()` should return the correct subcommand even
there are other positionals 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.

3 participants