Commit 857c1e2
CLJS-2652: Line breaks in long options for compile
This patch prevents line-breaking in the middle of long-form option
descriptions by treating long-form options as single tokens, instead
of considering `--` as its own token.
Running `cljs --help` without this patch would produce output looking
like (notice the line-break between `--` and `compile`:
* Set optimization level, only effective with --
compile main option. Valid values are: none,
whitespace, simple, advanced
With this patch, the output looks like:
* Set optimization level, only effective with
--compile main option. Valid values are: none,
whitespace, simple, advanced1 parent c7fa4a6 commit 857c1e2
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments