-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please document FORCE_COLOR/NO_COLOR in node -h
output
#37404
Comments
/ping @BridgeAR |
BridgeAR
added
cli
Issues and PRs related to the Node.js command line interface.
doc
Issues and PRs related to the documentations.
tty
Issues and PRs related to the tty subsystem.
labels
Feb 17, 2021
jasnell
added a commit
to jasnell/node
that referenced
this issue
Feb 22, 2021
Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#37404
PR: #37477 |
jasnell
added a commit
to jasnell/node
that referenced
this issue
Feb 23, 2021
Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#37404
jasnell
added a commit
to jasnell/node
that referenced
this issue
Feb 25, 2021
Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#37404
jasnell
added a commit
to jasnell/node
that referenced
this issue
Feb 25, 2021
Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#37404
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
Expect
node -h
to mention that node responds in some way to theNO_COLOR
andFORCE_COLOR
environment variables.Documentation specifies that
FORCE_COLOR
andNO_COLOR
can be used to simulate a different color depth terminal, but should identify the logic by which one or the other is preferred, and stipulate that a warning will be generated if both are set.What do you see instead?
No mention of
FORCE_COLOR
andNO_COLOR
environment variables.Only limited mention in docs.
Additional information
Handling of NO_COLOR and FORCE_COLOR were added in 273398a3d09, however the documentation does not mention that node will warn if both are set, only that they can be used to simulate a different color depth support level.
The text was updated successfully, but these errors were encountered: