Skip to content

Commit cad1047

Browse files
committed
Remove hyphens from flag descriptions
They probably originate from the `fmt_location` description that uses hyphens to list possible values.
1 parent 66bd8b5 commit cad1047

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/gradualizer_cli.erl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@ print_usage() ->
9292
io:format(" (\"LINE:COLUMN:\" before message text)~n"),
9393
io:format(" - 'verbose' (default): for human readers~n"),
9494
io:format(" (\"on line LINE at column COLUMN\" within the message text)~n"),
95-
io:format(" --color [ COLOR ] - Use colors when printing fancy messages. An optional~n"),
96-
io:format(" argument is `always | never | auto'. However, auto-~n"),
97-
io:format(" detection of a TTY doesn't work when running as an escript.~n"),
98-
io:format(" --no_color - Alias for `--color never'~n"),
99-
io:format(" --fancy - Use fancy error messages when possible (on by default)~n"),
100-
io:format(" --no_fancy - Don't use fancy error messages.~n"),
101-
io:format(" --union_size_limit - Performance hack: Unions larger than this value~n"),
102-
io:format(" are replaced by any() in normalization (default: 30)~n"),
103-
io:format(" --solve_constraints - Type check polymorphic calls (off by default)~n").
95+
io:format(" --color [ COLOR ] Use colors when printing fancy messages. An optional~n"),
96+
io:format(" argument is `always | never | auto'. However, auto-~n"),
97+
io:format(" detection of a TTY doesn't work when running as an escript.~n"),
98+
io:format(" --no_color Alias for `--color never'~n"),
99+
io:format(" --fancy Use fancy error messages when possible (on by default)~n"),
100+
io:format(" --no_fancy Don't use fancy error messages.~n"),
101+
io:format(" --union_size_limit Performance hack: Unions larger than this value~n"),
102+
io:format(" are replaced by any() in normalization (default: 30)~n"),
103+
io:format(" --solve_constraints Type check polymorphic calls (off by default)~n").
104104

105105
-spec parse_opts([string()], gradualizer:options()) -> {[string()], gradualizer:options()}.
106106
parse_opts([], Opts) ->

0 commit comments

Comments
 (0)