diff --git a/lib/elixir/lib/application.ex b/lib/elixir/lib/application.ex index 511a4247ad8..40175ae325b 100644 --- a/lib/elixir/lib/application.ex +++ b/lib/elixir/lib/application.ex @@ -23,8 +23,8 @@ defmodule Application do `mix.exs`, and others are generated by Mix itself. You can learn more about the generation of application resource files in the - documentation of `Mix.Tasks.Compile.App`, available as well by running `mix - help compile.app`. + documentation of `Mix.Tasks.Compile.App`, available as well by running + `mix help compile.app`. ## The application environment diff --git a/lib/mix/lib/mix.ex b/lib/mix/lib/mix.ex index f7ee7d74cfc..8ce4faadfc3 100644 --- a/lib/mix/lib/mix.ex +++ b/lib/mix/lib/mix.ex @@ -180,8 +180,8 @@ defmodule Mix do end In the example above we have created 2 aliases, the first example - `taskalias` will run task `hex.info`, then (`run`)[`Mix.Tasks.Run`] - to run an Elixir script, then (`cmd`)[`Mix.Tasks.Cmd`] to run a + `taskalias` will run task `mix hex.info`, then `mix run` + to run an Elixir script, then `mix cmd` to run a command line bash script. This shows how powerful aliases mixed with mix tasks can be.