Skip to content

Commit 29ebae3

Browse files
author
José Valim
committed
Ensure --help and mix help go through the same path, closes #2142
1 parent 59dc733 commit 29ebae3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/mix/lib/mix/cli.ex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defmodule Mix.CLI do
1010

1111
case check_for_shortcuts(args) do
1212
:help ->
13-
display_banner()
13+
proceed(["help"])
1414
:version ->
1515
display_version()
1616
nil ->
@@ -89,10 +89,6 @@ defmodule Mix.CLI do
8989
end
9090
end
9191

92-
defp display_banner() do
93-
run_task "help", []
94-
end
95-
9692
defp display_version() do
9793
IO.puts "Elixir #{System.version}"
9894
end

0 commit comments

Comments
 (0)