Add all available options to --help #7678

Closed
opened 2026-01-31 01:10:12 +00:00 by claunia · 4 comments
Owner

Originally created by @Meyhem on GitHub (Apr 25, 2020).

Windows build number: irrelevant
Windows Terminal version (if applicable): 0.11.1121.0

The "-h" CLI option doesn't provide information about all WT's options,
ex: --startingDirectory, -d is missing from there.

It would also be nicer if the "help" would be printed to stdout instead of popping MessageBox which is annoying and does not allow copying.

Steps to reproduce

  1. Open any terminal (wt, cmd, PS...)
  2. execute "wt -h"

Expected behavior

WT help should display all available CLI options

Actual behavior

WT doesn't display all available CLI options

Originally created by @Meyhem on GitHub (Apr 25, 2020). ```none Windows build number: irrelevant Windows Terminal version (if applicable): 0.11.1121.0 ``` The "-h" CLI option doesn't provide information about all WT's options, ex: _--startingDirectory, -d is missing from there._ It would also be nicer if the "help" would be printed to __stdout__ instead of popping __MessageBox__ which is annoying and does not allow copying. # Steps to reproduce 1. Open any terminal (wt, cmd, PS...) 2. execute "wt -h" # Expected behavior WT help should display all available CLI options # Actual behavior WT doesn't display all available CLI options
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 01:10:12 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 25, 2020):

So, each subcommands has context-specific options. Try wt new-tab -h!

@DHowett-MSFT commented on GitHub (Apr 25, 2020): So, each subcommands has context-specific options. Try `wt new-tab -h`!
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 25, 2020):

As for the message box, that’s probably the issue that makes us most sad:
https://github.com/microsoft/terminal/issues/4570#issuecomment-586551445

Section “displaying an output in a dialog”

@DHowett-MSFT commented on GitHub (Apr 25, 2020): As for the message box, that’s probably the issue that makes us most sad: https://github.com/microsoft/terminal/issues/4570#issuecomment-586551445 Section “displaying an output in a dialog”
Author
Owner

@Meyhem commented on GitHub (Apr 25, 2020):

@DHowett-MSFT Oh, I haven't realized one of the subcommands is ran by default and has the opts. Thanks for explaining.

@Meyhem commented on GitHub (Apr 25, 2020): @DHowett-MSFT Oh, I haven't realized one of the subcommands is ran by default and has the opts. Thanks for explaining.
Author
Owner

@DHowett-MSFT commented on GitHub (Apr 25, 2020):

Sure thing!

@DHowett-MSFT commented on GitHub (Apr 25, 2020): Sure thing!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7678