Commit 2c85c1f
committed
Improved CmdLine help message formatting
Before, the -h help flag wrote each option in its own line as follows:
-opt1 This is my long winded help message which requires more space and makes it ugly [default option for -opt1]
-myopt2 help for myopt2 [default option for -myopt2]
These messages were extremely hard to read. This commit now breaks each
option help message as follows:
-opt1 This is my long winded help message
which requires more space and makes
it ugly [default option for -opt1]
-myopt2 help for myopt2 [default option for -myopt2]
This is done in a way to limit the help message to around 80 characters.1 parent 9d30c3a commit 2c85c1f
1 file changed
+37
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
11 | 39 | | |
12 | 40 | | |
13 | 41 | | |
| |||
249 | 277 | | |
250 | 278 | | |
251 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
252 | 286 | | |
253 | 287 | | |
254 | 288 | | |
255 | 289 | | |
| 290 | + | |
256 | 291 | | |
257 | 292 | | |
258 | | - | |
| 293 | + | |
259 | 294 | | |
260 | 295 | | |
261 | 296 | | |
262 | | - | |
| 297 | + | |
263 | 298 | | |
264 | 299 | | |
265 | 300 | | |
| |||
0 commit comments