Skip to content

Commit d8bb1c4

Browse files
lukaszsamsonjosevalim
authored andcommitted
Add missing erlang compiler options (#14614)
Document options on leex and yecc compilers
1 parent fa2c96f commit d8bb1c4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Mix.Tasks.Compile.Erlang do
88

99
@recursive true
1010
@manifest "compile.erlang"
11-
@switches [force: :boolean, all_warnings: :boolean]
11+
@switches [force: :boolean, verbose: :boolean, all_warnings: :boolean]
1212

1313
@moduledoc """
1414
Compiles Erlang source files.
@@ -23,6 +23,7 @@ defmodule Mix.Tasks.Compile.Erlang do
2323
* `--all-warnings` (`--no-all-warnings`) - prints all warnings, including previous compilations
2424
(default is true except on errors)
2525
* `--force` - forces compilation regardless of modification times
26+
* `--verbose` - prints verbose output
2627
2728
## Configuration
2829

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ defmodule Mix.Tasks.Compile.Leex do
3030
* `--all-warnings` (`--no-all-warnings`) - prints all warnings, including previous compilations
3131
(default is true except on errors)
3232
* `--force` - forces compilation regardless of modification times
33+
* `--verbose` - prints verbose output
3334
3435
## Configuration
3536

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defmodule Mix.Tasks.Compile.Yecc do
88

99
@recursive true
1010
@manifest "compile.yecc"
11-
@switches [force: :boolean, all_warnings: :boolean]
11+
@switches [force: :boolean, verbose: :boolean, all_warnings: :boolean]
1212

1313
# These options can't be controlled with :yecc_options.
1414
@forced_opts [report: true, return: true]
@@ -30,6 +30,7 @@ defmodule Mix.Tasks.Compile.Yecc do
3030
* `--all-warnings` (`--no-all-warnings`) - prints all warnings, including previous compilations
3131
(default is true except on errors)
3232
* `--force` - forces compilation regardless of modification times
33+
* `--verbose` - prints verbose output
3334
3435
## Configuration
3536

0 commit comments

Comments
 (0)