NO_COLOR
and NODE_DISABLE_COLORS
described incorrectly in CLI api doc
#56485
Labels
doc
Issues and PRs related to the documentations.
Affected URL(s)
https://nodejs.org/docs/latest/api/cli.html
Description of the problem
The
NODE_DISABLE_COLORS=1
documentation states:However, that is only half of the story because it also disables color output at the command-line.
Additionally,
NO_COLOR=<any>
states:However, it only disables color at the command-line, not in the REPL. So it isn't exactly an alias for
NODE_DISABLE_COLORS
.The wording should be improved, for these two environment variables, to state that
NO_COLOR
disables color only at the command-line, whileNODE_DISABLE_COLORS
disables color at both the command-line & in the REPL.The text was updated successfully, but these errors were encountered: