Skip to content

Change --help formatting (and fix --info) - #3649

Merged
Jakub Jareš (nohwnd) merged 6 commits into
mainfrom
change-help-formatting
Aug 22, 2024
Merged

Jakub Jareš (nohwnd) merged 6 commits into
mainfrom
change-help-formatting

Conversation

@nohwnd

Copy link
Copy Markdown
Member

Change help formatting from

image

to

image (4)

This avoids the help being pushed to right side by the longest option.

We DO NOT split the lines automatically and reflow them, you need to put newlines in the description manually, and keep each line short. This is to avoid splitting links (so they remain clickable), and to let the terminal reflow long lines, so user can widen their terminal and get the correct view without re-running.

@nohwnd

Copy link
Copy Markdown
Member Author

Draft because I am waiting on whether I should keep the spaces between entries. And then I need to fix help tests that list the output literally.

@Evangelink

Copy link
Copy Markdown
Member

LGTM

@nohwnd

Copy link
Copy Markdown
Member Author

Fails on native AOT tests now. Merging.

@nohwnd
Jakub Jareš (nohwnd) merged commit 37e859b into main Aug 22, 2024
@nohwnd
Jakub Jareš (nohwnd) deleted the change-help-formatting branch August 22, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants