1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

docs: --indent value has maximum of 7, not 8

Test Plan:
To verify that this is in fact the behavior:

```
$ jq --indent 7 -n '[1]'
[
       1
]
$ jq --indent 8 -n '[1]'
jq: --indent takes a number between -1 and 7
Use jq --help for help with command-line options,
or see the jq manpage, or online docs  at https://stedolan.github.io/jq
```

This patch was generated by running `git grep "no more than"` and fixing
up appropriate results.

wchargin-branch: docs-fix-indent-bounds
This commit is contained in:
William Chargin
2018-10-01 14:56:25 -07:00
committed by Nico Williams
parent e7d37983c4
commit baecf2ce9e
4 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ Use a tab for each indentation level instead of two spaces\.
\fB\-\-indent n\fR:
.
.IP
Use the given number of spaces (no more than 8) for indentation\.
Use the given number of spaces (no more than 7) for indentation\.
.
.IP "\(bu" 4
\fB\-\-color\-output\fR / \fB\-C\fR and \fB\-\-monochrome\-output\fR / \fB\-M\fR: