mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 09:12:47 +08:00
DOCS: Disabling colors via environment variable (#2907)
This commit is contained in:
parent
c31064781f
commit
6cbfb57ab7
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ codes.
|
||||||
In order to do so, a global `--no-colors` command option is provided, which when
|
In order to do so, a global `--no-colors` command option is provided, which when
|
||||||
set `--no-colors=true`, will disable colors globally.
|
set `--no-colors=true`, will disable colors globally.
|
||||||
|
|
||||||
|
Alternatively, a `NO_COLOR` environment variable set to any non-empty string will disable color output.
|
||||||
|
|
||||||
## (Force) Enable colors
|
## (Force) Enable colors
|
||||||
|
|
||||||
If color support is not correctly detected, providing `--no-colors=false` would
|
If color support is not correctly detected, providing `--no-colors=false` would
|
||||||
|
|
Loading…
Reference in a new issue