Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all available options to --help #5560

Closed
Meyhem opened this issue Apr 25, 2020 · 4 comments
Closed

Add all available options to --help #5560

Meyhem opened this issue Apr 25, 2020 · 4 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@Meyhem
Copy link

Meyhem commented 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

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 25, 2020
@DHowett-MSFT
Copy link
Contributor

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

@DHowett-MSFT
Copy link
Contributor

As for the message box, that’s probably the issue that makes us most sad:
#4570 (comment)

Section “displaying an output in a dialog”

@Meyhem
Copy link
Author

Meyhem commented 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.

@DHowett-MSFT
Copy link
Contributor

Sure thing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

2 participants