Skip to content

Commit e6ff35c

Browse files
author
José Valim
committed
Default info to normal color and make print_help use it
1 parent c20fe6f commit e6ff35c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/iex/lib/iex/options.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ defmodule IEx.Options do
128128
end
129129

130130
# Strip the first paragraph
131-
String.lstrip(Regex.replace %r/\A.+?^$/ms, doc, "")
131+
stripped = String.lstrip(Regex.replace %r/\A.+?^$/ms, doc, "")
132+
IEx.color :info, stripped
132133

133134
nil -> raise_option(name)
134135
end

lib/iex/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule IEx.Mixfile do
1313
enabled: true,
1414
eval_result: "yellow",
1515
error: "red",
16-
info: "yellow",
16+
info: "normal",
1717
directory: "blue",
1818
device: "green"
1919
],

0 commit comments

Comments
 (0)