summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-12-03 01:21:07 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-12-03 01:21:07 +0000
commite9c7548b825a4fb56b53111a76cb90e0f6aef4cc (patch)
tree02caf76ee2995386edaa796bd2cd88499b4755bf /docs
parent67f8ad943538e00826966c069d917b5bc99a4e47 (diff)
Oh alright then, if you insist.
Colo(u)red output for jq. Enabled by default if isatty(stdout). Closes #11.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/3.manual/manual.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index 4d228691..0e16a495 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -65,6 +65,12 @@ sections:
will result in more compact output by instead putting each
JSON object on a single line.
+ * `--colour-output` / `-C` and `--monochrome-output` / `-M`
+
+ 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`.
+
* `--ascii-output` / `-a`
jq usually outputs non-ASCII Unicode codepoints as UTF-8, even