Skip to content

Polish command-line help dialog formatting#20294

Closed
puneetdixit200 wants to merge 1 commit into
microsoft:mainfrom
puneetdixit200:fix-help-dialog-formatting
Closed

Polish command-line help dialog formatting#20294
puneetdixit200 wants to merge 1 commit into
microsoft:mainfrom
puneetdixit200:fix-help-dialog-formatting

Conversation

@puneetdixit200

Copy link
Copy Markdown

Summary of the Pull Request

Narrows the generated wt command-line help formatting so the text shown in the help MessageBox wraps at a dialog-friendly width.

References and Relevant Issues

Closes #4134

Detailed Description of the Pull Request / Additional comments

The command-line help text is produced by CLI11 before WindowEmperor displays it in a MessageBox. This updates the shared CLI formatter to use narrower help columns and a 72-character paragraph width, so top-level and subcommand help avoid long horizontal lines in the fixed-size dialog.

The existing command-line help tests now assert that generated help lines stay within that 72-character limit, and the stale GH#4134 TODO at the MessageBox call site has been replaced with a comment pointing to the formatter behavior.

Validation Steps Performed

  • Verified the touched files keep the repository's CRLF line endings.
  • Ran a targeted trailing-whitespace check on the touched files.
  • Reviewed the final diff.
  • Could not run the Windows TAEF/msbuild test suite from this macOS environment.

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 Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Priority-3 A description (P3) Product-Terminal The new Windows Terminal. labels Jun 5, 2026
@vn2868tv4v-art

This comment was marked as spam.

@zadjii-msft

Copy link
Copy Markdown
Member

Can you add a screenshot of what this looks like?

@zadjii-msft zadjii-msft added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jun 24, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Jul 1, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

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 Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Issue-Task It's a feature request, but it doesn't really need a major design. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. Priority-3 A description (P3) Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Polish Commandline Help MessageBox to be at least like, but at best better than, msiexec /?

3 participants