the cli parameter -d is not shown in help #13144

Open
opened 2026-01-31 03:34:55 +00:00 by claunia · 2 comments
Owner

Originally created by @anb0s on GitHub (Mar 23, 2021).

We can use wt -d d:\ to open terminal in specific directory. This is not listed via wt /?
image

Originally created by @anb0s on GitHub (Mar 23, 2021). We can use `wt -d d:\` to open terminal in specific [directory](https://docs.microsoft.com/de-de/windows/terminal/command-line-arguments?tabs=windows). This is not listed via `wt /?` ![image](https://user-images.githubusercontent.com/95811/112136021-b91ad780-8bce-11eb-8bcb-1d1ec7aac5d9.png)
claunia added the Issue-TaskProduct-TerminalIssue-DocsArea-Commandline labels 2026-01-31 03:34:56 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 23, 2021):

Huh. Good point.

  • Technically, -d is a parameter for new-tab, so it should show up under wt new-tab -?.
  • When no subcommand is passed to wt, then it tries new-tab by default.

We should probably clarify that second bit in the help text.

@zadjii-msft commented on GitHub (Mar 23, 2021): Huh. Good point. * Technically, `-d` is a parameter for `new-tab`, so it should show up under `wt new-tab -?`. * When no subcommand is passed to `wt`, then it tries `new-tab` by default. We should probably clarify that second bit in the help text.
Author
Owner

@anb0s commented on GitHub (Mar 23, 2021):

ah ok :)

The command wt new-tab -? does not work for me: it just opens new shell without help.
But this works: wt -h new-tab or wt --help new-tab:
image

@anb0s commented on GitHub (Mar 23, 2021): ah ok :) The command `wt new-tab -?` does not work for me: it just opens new shell without help. But this works: `wt -h new-tab` or `wt --help new-tab`: ![image](https://user-images.githubusercontent.com/95811/112137863-16b02380-8bd1-11eb-8ecc-1542dda1210f.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13144