Skip to content

Commit b6a120b

Browse files
jayjunmontogeek
authored andcommitted
docs(api): Document --no-color option (#2626)
1 parent bd150aa commit b6a120b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/api/cli.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ These options allow webpack to display various [stats](/configuration/stats/) an
264264

265265
Parameter | Explanation | Type
266266
-------------------------------- | ------------------------------------------------------------------ | -------
267-
`--color`, `--colors` | Enables/Disables colors on the console [default: (supports-color)] | boolean
267+
`--color`, `--colors` | Force colors on the console [default: enabled for TTY output only] | boolean
268+
`--no-color`, `--no-colors` | Force no colors on the console | boolean
268269
`--display` | Select [display preset](/configuration/stats) (verbose, detailed, normal, minimal, errors-only, none; since webpack 3.0.0) | string
269270
`--display-cached` | Display also cached modules in the output | boolean
270271
`--display-cached-assets` | Display also cached assets in the output | boolean

0 commit comments

Comments
 (0)