We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44d71c commit 8ab8663Copy full SHA for 8ab8663
lib/mix/lib/mix/tasks/help.ex
@@ -65,10 +65,10 @@ defmodule Mix.Tasks.Help do
65
66
if ansi_docs?(opts) do
67
opts = [width: width] ++ opts
68
- IO.ANSI.Docs.print_heading("mix help #{task}", opts)
+ IO.ANSI.Docs.print_heading("mix #{task}", opts)
69
IO.ANSI.Docs.print(doc, opts)
70
else
71
- IO.puts "# mix help #{task}\n"
+ IO.puts "# mix #{task}\n"
72
IO.puts doc
73
end
74
lib/mix/test/mix/tasks/help_test.exs
@@ -31,7 +31,7 @@ defmodule Mix.Tasks.HelpTest do
31
Mix.Tasks.Help.run ["compile"]
32
33
34
- assert output =~ "# mix help compile"
+ assert output =~ "# mix compile"
35
assert output =~ "## Command line options"
36
assert output =~ ~r/^Location:/m
37
0 commit comments