Skip to content

Commit b0d8b64

Browse files
eksperimentaljosevalim
authored andcommitted
Be consistent in the use of present tense (#7869)
[ci skip]
1 parent f2ff2c8 commit b0d8b64

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ defmodule Kernel do
140140
precedence
141141
* [Syntax Reference](syntax-reference.html) - the language syntax reference
142142
* [Typespecs](typespecs.html)- types and function specifications, including list of types
143-
* [Unicode Syntax](unicode-syntax.html) - outline Elixir support for Unicode
143+
* [Unicode Syntax](unicode-syntax.html) - outlines Elixir support for Unicode
144144
* [Writing Documentation](writing-documentation.html) - guidelines for
145145
writing documentation in Elixir.
146146

lib/mix/lib/mix/tasks/compile.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ defmodule Mix.Tasks.Compile do
4848
* `--no-deps-check` - skips checking of dependencies
4949
* `--no-protocol-consolidation` - skips protocol consolidation
5050
* `--force` - forces compilation
51-
* `--return-errors` - return error status and diagnostics instead of exiting on error
51+
* `--return-errors` - returns error status and diagnostics instead of exiting on error
5252
* `--erl-config` - path to an Erlang term file that will be loaded as mix config
5353
5454
"""

lib/mix/lib/mix/tasks/format.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ defmodule Mix.Tasks.Format do
5050
5151
## Task-specific options
5252
53-
* `--check-formatted` - check that the file is already formatted.
53+
* `--check-formatted` - checks that the file is already formatted.
5454
This is useful in pre-commit hooks and CI scripts if you want to
5555
reject contributions with unformatted code. However keep in mind
5656
that the formatted output may differ between Elixir versions as
5757
improvements and fixes are applied to the formatter.
5858
59-
* `--check-equivalent` - check if the files after formatting have the
59+
* `--check-equivalent` - checks if the files after formatting have the
6060
same AST as before formatting. If the ASTs are not equivalent,
6161
it is a bug in the code formatter. This option is recommended if you
6262
are automatically formatting files.
6363
64-
* `--dry-run` - do not save files after formatting.
64+
* `--dry-run` - does not save files after formatting.
6565
6666
* `--dot-formatter` - path to the file with formatter configuration.
6767
Defaults to `.formatter.exs` if one is available. See the "`.formatter.exs`"

lib/mix/lib/mix/tasks/profile.eprof.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule Mix.Tasks.Profile.Eprof do
2626
* `--matching` - only profile calls matching the given `Module.function/arity` pattern
2727
* `--calls` - filters out any results with a call count lower than this
2828
* `--time` - filters out any results that took lower than specified (in µs)
29-
* `--sort` - sort the results by `time` or `calls` (default: `time`)
29+
* `--sort` - sorts the results by `time` or `calls` (default: `time`)
3030
* `--config`, `-c` - loads the given configuration file
3131
* `--eval`, `-e` - evaluate the given code
3232
* `--require`, `-r` - requires pattern before running the command

lib/mix/lib/mix/tasks/xref.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ defmodule Mix.Tasks.Xref do
7272
* `--label` - only shows relationships with the given label
7373
The labels are "compile", "struct" and "runtime" (runtime is now shown on the graph)
7474
75-
* `--only-nodes` - only show the node names (no edges)
75+
* `--only-nodes` - only shows the node names (no edges)
7676
7777
* `--source` - displays all files that the given source file references (directly or indirectly)
7878
@@ -113,9 +113,9 @@ defmodule Mix.Tasks.Xref do
113113
114114
Those options are shared across all modes:
115115
116-
* `--include-siblings` - include dependencies that have `:in_umbrella` set
116+
* `--include-siblings` - includes dependencies that have `:in_umbrella` set
117117
to true in the current project in the reports. This can be used to find
118-
callers or analyze graphs between projects
118+
callers or to analyze graphs between projects
119119
120120
* `--no-compile` - does not compile even if files require compilation
121121

0 commit comments

Comments
 (0)