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
This PR aims to improve the readability of help messages.
Concretely it addresses 2 weaknesses of the current behavior:
1. In the presence of a very long option name, e.g. `-scalajs-genStaticForwardersForNonTopLevelObjects`, all descriptions of the selected option subset are currently displayed with a large empty space on their left.
**NB.** Alternative (and cheap) solution: define a maximum length for option names.
2. If the text length of the description is greater than the terminal width minus the largest option width (which not exceeds 30 chars), the rear part of the text flows to the next line, starting at **column 0**.
**NB.** `javac` mixes two ways to display descriptions in help messages (see e.g. `javac -X`): descriptions are either programmatically split into several lines or their rear part simply flows to the next line, starting at **column 0**.
0 commit comments