Add --tab and -indent n options

This commit is contained in:
Nicolas Williams committed 2015-06-03 20:20:11 -05:00
1 parent 74ecb88935
commit 24a5e5b1b1
4 files changed
+58 -22

No files matched your search

+8
View File
@@ -140,6 +140,14 @@ sections:
will result in more compact output by instead putting each
JSON object on a single line.
* `--tab`:
Use a tab for each indentation level instead of two spaces.
* `--indent n`:
Use the given number of spaces (no more than 8) for indentation.
* `--colour-output` / `-C` and `--monochrome-output` / `-M`:
By default, jq outputs colored JSON if writing to a