Skip to content
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

Add support for NO_COLOR env var (#1021) #1031

Merged
merged 1 commit into from
May 28, 2020

Conversation

eth-p
Copy link
Collaborator

@eth-p eth-p commented May 27, 2020

Adds support for the NO_COLOR environment variable.

When NO_COLOR is provided:

  • The help text is not colored.
  • Colors are disabled when using --color=auto. Note: --color=always overrides the environment variable.

@eth-p eth-p requested a review from sharkdp May 27, 2020 23:40
@eth-p eth-p force-pushed the support-no-color branch from 96b92a8 to c638de4 Compare May 27, 2020 23:41
Copy link
Owner

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@sharkdp sharkdp merged commit 8b481dd into sharkdp:master May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants