[PR #4388] Configure CLI11 to stuff all unknown positionals into the cmdline #25741

Closed
opened 2026-01-31 09:11:30 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4388

State: closed
Merged: Yes


This commit fixes an issue where "wt -d C: wsl -d Alpine" would be
parsed as "wt -d C: -d Alpine wsl" and rejected as invalid due to the
repeated -d. It also fixes support for the option parsing terminator,
--, in all command lines.

Fixes #4277.

References

https://github.com/CLIUtils/CLI11/issues/417

PR Checklist

Validation Steps

Tests, manual wailing.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4388 **State:** closed **Merged:** Yes --- This commit fixes an issue where "wt -d C: wsl -d Alpine" would be parsed as "wt -d C: -d Alpine wsl" and rejected as invalid due to the repeated -d. It also fixes support for the option parsing terminator, --, in all command lines. Fixes #4277. ## References https://github.com/CLIUtils/CLI11/issues/417 ## PR Checklist * [x] Closes #4277 * [x] cla * [x] Tests added/passed * [x] docs fixed * [x] The core one cometh ## Validation Steps Tests, manual wailing.
claunia added the pull-request label 2026-01-31 09:11:30 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25741