Skip to content

Commit f0943e7

Browse files
committed
Accept --all-warnings on mix test
1 parent d105533 commit f0943e7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ defmodule Mix.Tasks.Compile.Elixir do
5656
* `--long-compilation-threshold N` - sets the "long compilation" threshold
5757
(in seconds) to `N` (see the docs for `Kernel.ParallelCompiler.compile/2`)
5858
* `--profile` - if set to `time`, outputs timing information of compilation steps
59-
* `--all-warnings` - prints warnings even from files that do not need to be recompiled
6059
* `--tracer` - adds a compiler tracer in addition to any specified in the `mix.exs` file
6160
6261
## Configuration

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ defmodule Mix.Tasks.Compile do
4646
4747
## Command line options
4848
49+
* `--all-warnings` - prints warnings even from files that do not need to be recompiled
4950
* `--erl-config` - path to an Erlang term file that will be loaded as Mix config
5051
* `--force` - forces compilation
5152
* `--list` - lists all enabled compilers

lib/mix/lib/mix/tasks/test.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ defmodule Mix.Tasks.Test do
107107
108108
## Command line options
109109
110+
* `--all-warnings` - prints warnings even from files that do not need to be recompiled
111+
110112
* `--color` - enables color in the output
111113
112114
* `--cover` - runs coverage tool. See "Coverage" section below
@@ -389,6 +391,7 @@ defmodule Mix.Tasks.Test do
389391
"""
390392

391393
@switches [
394+
all_warnings: :boolean,
392395
force: :boolean,
393396
color: :boolean,
394397
cover: :boolean,

0 commit comments

Comments
 (0)