Skip to content

Commit af3b7e2

Browse files
committed
Merge pull request #3730 from eksperimental/mix_help
Several standardization fixes
2 parents 9d0fc2c + 9e64501 commit af3b7e2

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

lib/elixir/lib/agent.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule Agent do
3434
Agent.update(__MODULE__, &Set.put(&1, item))
3535
end
3636
37-
@doc "Reset the executed tasks and return the previous list of tasks"
37+
@doc "Resets the executed tasks and return the previous list of tasks"
3838
def take_all() do
3939
Agent.get_and_update(__MODULE__, fn set ->
4040
{Enum.into(set, []), HashSet.new}

lib/elixir/lib/gen_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ defmodule GenServer do
385385
{:timeout, timeout} |
386386
{:spawn_opt, Process.spawn_opt}
387387

388-
@typedoc "debug options supported by the `start*` functions"
388+
@typedoc "Debug options supported by the `start*` functions"
389389
@type debug :: [:trace | :log | :statistics | {:log_to_file, Path.t}]
390390

391391
@typedoc "The server reference"

lib/elixir/lib/io/ansi.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ defmodule IO.ANSI do
5151
@doc "Faint (decreased intensity), not widely supported"
5252
defsequence :faint, 2
5353

54-
@doc "Italic: on. Not widely supported. Sometimes treated as inverse."
54+
@doc "Italic: on. Not widely supported. Sometimes treated as inverse"
5555
defsequence :italic, 3
5656

5757
@doc "Underline: Single"
@@ -72,7 +72,7 @@ defmodule IO.ANSI do
7272
@doc "Conceal. Not widely supported"
7373
defsequence :conceal, 8
7474

75-
@doc "Crossed-out. Characters legible, but marked for deletion. Not widely supported."
75+
@doc "Crossed-out. Characters legible, but marked for deletion. Not widely supported"
7676
defsequence :crossed_out, 9
7777

7878
@doc "Sets primary (default) font"
@@ -126,10 +126,10 @@ defmodule IO.ANSI do
126126
@doc "Not overlined"
127127
defsequence :not_overlined, 55
128128

129-
@doc "Send cursor home"
129+
@doc "Sends cursor home"
130130
defsequence :home, "", "H"
131131

132-
@doc "Clear screen"
132+
@doc "Clears screen"
133133
defsequence :clear, "2", "J"
134134

135135
defp format_sequence(other) do

lib/mix/lib/mix/dep.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ defmodule Mix.Dep do
22
@moduledoc false
33

44
@doc """
5-
The Mix.Dep a struct keeps information about your project dependencies.
5+
The Mix.Dep struct keeps information about your project dependencies.
6+
67
It contains:
78
89
* `scm` - a module representing the source code management tool (SCM)

lib/mix/lib/mix/tasks/deps.clean.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
defmodule Mix.Tasks.Deps.Clean do
22
use Mix.Task
33

4-
@shortdoc "Removes the given dependencies' files"
4+
@shortdoc "Deletes the given dependencies' files"
55

66
@moduledoc """
7-
Removes the given dependencies' files, including build artifacts and fetched
7+
Deletes the given dependencies' files, including build artifacts and fetched
88
sources.
99
1010
Since this is a destructive action, cleaning of dependencies
1111
can only happen by passing arguments/options:
1212
13-
* `dep1, dep2` - the name of dependencies to be removed
14-
* `--all` - removes all dependencies
15-
* `--unused` - removes only unused dependencies (no longer mentioned
13+
* `dep1, dep2` - the name of dependencies to be deleted
14+
* `--all` - deletes all dependencies
15+
* `--unused` - deletes only unused dependencies (no longer mentioned
1616
in the `mix.exs` file)
17-
* `--unlock` - also unlock the removed dependencies
17+
* `--unlock` - also unlocks the deleted dependencies
1818
1919
By default this task works across all environments, unless `--only`
2020
is given.

0 commit comments

Comments
 (0)