Commit a5bc935
committed
Say why blocks() is handed sizes it could reach for
Every field of HelpSizes is on the ParseResult too, so this reads like
the parameter usageText() just lost. It is not one. A text width of zero
means ask, sizes carries the answer rather than the zero, and the answer
is settled once and handed to render() as well. An override working it
out again would call console::width() a second time, and a terminal
resized between the two halves would lay the usage line out to one width
and the descriptions to another.
The cpp said this beside the code that does it. The header, which is
where somebody asks the question, did not.1 parent 8031cb5 commit a5bc935
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1562 | 1562 | | |
1563 | 1563 | | |
1564 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
1565 | 1570 | | |
1566 | 1571 | | |
1567 | 1572 | | |
| |||
0 commit comments