Add notes on NO_COLOR environment variable to the manual

This commit is contained in:
itchyny authored and Nico Williams committed 2023-07-19 09:56:01 -05:00
1 parent 0615d4982c
commit f0306405c1
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -168,6 +168,8 @@ sections:
By default, jq outputs colored JSON if writing to a
terminal. You can force it to produce color even if writing to
a pipe or a file using `-C`, and disable color with `-M`.
When the `NO_COLOR` environment variable is not empty, jq disables
colored output by default, but you can enable it by `-C`.
Colors can be configured with the `JQ_COLORS` environment
variable (see below).