You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first line of (standard-) synopsis is longer than the maximum number (80 (?)) of allowed characters. The following lines of the synopsis are wrapped properly to not overshoot the maximum number.
Nice catch!
It looks like the synopsis heading (Usage: in this case) is not included in the character count at all.
This is wrong and the synopsis heading characters should be included in the count. (In case the heading contains a newline or %n, we should start counting from the last newline.)
Would you be interested in providing a pull request?
It's not urgent for me to get a fix for this issue.
You could think about adding an additional attribute to the @command annotation and/or an additional parameter to the CommandLine.usage() methods to change the maximum allowed characters in a line. The improved usage() methods might be helpful to align the output to different windows/screen widths.
The first line of (standard-) synopsis is longer than the maximum number (80 (?)) of allowed characters. The following lines of the synopsis are wrapped properly to not overshoot the maximum number.
The text was updated successfully, but these errors were encountered: