Polish command-line help dialog formatting#20294
Conversation
|
@puneetdixit200 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
1 similar comment
|
@puneetdixit200 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
Summary of the Pull Request
Narrows the generated
wtcommand-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
WindowEmperordisplays 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
PR Checklist
msiexec /?#4134