The split-pane subcommand has a --target\-t parameter #6820

Closed
opened 2026-01-31 00:48:03 +00:00 by claunia · 2 comments
Owner

Originally created by @wayne-scott on GitHub (Mar 10, 2020).

The split-pane section in the UsingCommandlineArguments document says that there is a [--target,-t target-pane] parameter. However if you try to use it you get a windows error box stating "The following argument was not expected: -t".

I've not looked into the code base in great detail, but from looking at this section I'm assuming that this parameter hasn't been implemented yet.

Originally created by @wayne-scott on GitHub (Mar 10, 2020). The [split-pane](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingCommandlineArguments.md#split-pane) section in the [UsingCommandlineArguments](https://github.com/microsoft/terminal/blob/master/doc/user-docs/UsingCommandlineArguments.md) document says that there is a `[--target,-t target-pane]` parameter. However if you try to use it you get a windows error box stating "The following argument was not expected: -t". I've not looked into the code base in great detail, but from looking at [this](https://github.com/microsoft/terminal/blob/b6ec670bd8cf8ac7f6f7e67ac28a0210ba56b2c8/src/cascadia/TerminalApp/AppCommandlineArgs.cpp#L193) section I'm assuming that this parameter hasn't been implemented yet.
claunia added the Needs-TriageResolution-Fix-CommittedNeeds-Tag-FixIssue-Docs labels 2026-01-31 00:48:03 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 11, 2020):

You're absolutely right that this hasn't been implemented yet. I copy-pasta'd that section from the spec, then forgot to remove that arg. 🤦‍♂

Thanks for catching this!

@zadjii-msft commented on GitHub (Mar 11, 2020): You're absolutely right that this hasn't been implemented yet. I copy-pasta'd that section from the spec, then forgot to remove that arg. 🤦‍♂ Thanks for catching this!
Author
Owner

@wayne-scott commented on GitHub (Mar 11, 2020):

@zadjii-msft, just a quick followup question. I want to keep track of when this will be implemented but couldn't find an issue to follow. The best I could find was #4632, but it didn't mention this particular parameter. Can you point me in the right direction?

@wayne-scott commented on GitHub (Mar 11, 2020): @zadjii-msft, just a quick followup question. I want to keep track of when this will be implemented but couldn't find an issue to follow. The best I could find was #4632, but it didn't mention this particular parameter. Can you point me in the right direction?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6820