diff --git a/erts/doc/references/erlc_cmd.md b/erts/doc/references/erlc_cmd.md index 56f4a5502088..cdb387dc3ee1 100644 --- a/erts/doc/references/erlc_cmd.md +++ b/erts/doc/references/erlc_cmd.md @@ -63,7 +63,7 @@ The following flags are supported: containing tuples and lists must be quoted. Terms containing spaces must be quoted on all platforms. -- **`-WError`** - Makes all warnings into errors. +- **`-Werror`** - Makes all warnings into errors. - **`-W`** - Sets warning level to `Number`. Defaults to `1`. To turn off warnings, use `-W0`.