Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct issue where too narrow a console can break help output
If the terminal width used to display the help output is narrower than the longest defined argument, the command line parser will attempt to wrap the help text at a negative length, and will eventually OOM. This makes sure that the wrap function does not allow that, and tries to behave a bit more intelligently during help output. Fixes #11688
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters