Skip to content

Conversation

@dearchap
Copy link
Contributor

@dearchap dearchap commented Feb 1, 2026

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #2254

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

Add a new test case TestCommand_UseShortOptionWithArg

go test -run=TestCommand_UseShortOptionWithArg

Release Notes

(REQUIRED)

Fix parsing of arg after short token handling

@dearchap dearchap requested a review from a team as a code owner February 1, 2026 22:03
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.

Short option handling doesn’t consume value token for combined short flags (e.g. -som foo)

3 participants