Uh oh!
There was an error while loading. Please reload this page.
fix(cli): add trailing newline to --help output - #29284
Conversation
The following comment was made by an LLM, it may be inaccurate: Found potential duplicate PRs related to help output trailing newlines:
All of these PRs appear to address the same or very similar issue: adding a trailing newline to the help output to prevent the shell prompt from appearing on the same line. You should verify the status of these PRs (merged, closed, or open) and determine if any are duplicates or if this is a regression that needs addressing. |
Issue for this PR
Closes#28606
Type of change
What does this PR do?
Yargs
--helpoutput does not end with a trailing newline, causing the next shell prompt to appear immediately after the last line of help text on the same line. This is a cosmetic issue.Fix: Append
EOLto the help output string in the--helpparse callback before passing it to theshow()function.How did you verify your code works?
bun run typecheckpasses (exit code 0)Checklist