Skip to content

Clarify default new-tab command in help#20176

Open
nightt5879 wants to merge 1 commit intomicrosoft:mainfrom
nightt5879:nightt5879/fix-9585-commandline-help
Open

Clarify default new-tab command in help#20176
nightt5879 wants to merge 1 commit intomicrosoft:mainfrom
nightt5879:nightt5879/fix-9585-commandline-help

Conversation

@nightt5879
Copy link
Copy Markdown

Summary of the Pull Request

Clarifies the top-level wt help output for the implicit new-tab behavior. When no command is specified, wt treats the command line as new-tab; the help text now states that and points users to wt new-tab --help for options such as -d,--startingDirectory.

References and Relevant Issues

Fixes #9585

Detailed Description of the Pull Request / Additional comments

This adds a CLI11 footer to the root command-line parser, backed by a new CmdHelpFooter resource string. It also updates the existing simple help test to assert that the top-level help mentions new-tab, wt new-tab --help, and -d,--startingDirectory.

Validation Steps Performed

  • Parsed src/cascadia/TerminalApp/Resources/en-US/Resources.resw as XML successfully.
  • Reviewed the staged diff to confirm the change is limited to command-line help text and the corresponding test assertion.
  • Full local C++/TAEF tests were not run because msbuild is not available on this machine's PATH.

PR Checklist

@microsoft-github-policy-service microsoft-github-policy-service Bot added Issue-Task It's a feature request, but it doesn't really need a major design. Area-Commandline wt.exe's commandline arguments Product-Terminal The new Windows Terminal. labels May 3, 2026
@nightt5879
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@nightt5879 nightt5879 marked this pull request as ready for review May 3, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Commandline wt.exe's commandline arguments Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

the cli parameter -d is not shown in help

1 participant