diff options
author | William Chargin <wchargin@gmail.com> | 2018-10-01 14:56:25 -0700 |
---|---|---|
committer | Nico Williams <nico@cryptonector.com> | 2020-01-07 23:34:52 -0600 |
commit | baecf2ce9ec51ebd70cf617ffbee19a668652c9d (patch) | |
tree | 09bac0c935c1550ad6a8f912cbffe577af75b13b | |
parent | e7d37983c42e3783cebe3346d65b9b887e3bdbc8 (diff) |
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
-rw-r--r-- | docs/content/manual/manual.yml | 2 | ||||
-rw-r--r-- | docs/content/manual/v1.5/manual.yml | 2 | ||||
-rw-r--r-- | docs/content/manual/v1.6/manual.yml | 2 | ||||
-rw-r--r-- | jq.1.prebuilt | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index d4af555a..7a91d1e3 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -153,7 +153,7 @@ sections: * `--indent n`: - Use the given number of spaces (no more than 8) for indentation. + Use the given number of spaces (no more than 7) for indentation. * `--color-output` / `-C` and `--monochrome-output` / `-M`: diff --git a/docs/content/manual/v1.5/manual.yml b/docs/content/manual/v1.5/manual.yml index 862c617d..fe2c95a6 100644 --- a/docs/content/manual/v1.5/manual.yml +++ b/docs/content/manual/v1.5/manual.yml @@ -152,7 +152,7 @@ sections: * `--indent n`: - Use the given number of spaces (no more than 8) for indentation. + Use the given number of spaces (no more than 7) for indentation. * `--color-output` / `-C` and `--monochrome-output` / `-M`: diff --git a/docs/content/manual/v1.6/manual.yml b/docs/content/manual/v1.6/manual.yml index 89d5a0b1..ecb1a24e 100644 --- a/docs/content/manual/v1.6/manual.yml +++ b/docs/content/manual/v1.6/manual.yml @@ -152,7 +152,7 @@ sections: * `--indent n`: - Use the given number of spaces (no more than 8) for indentation. + Use the given number of spaces (no more than 7) for indentation. * `--color-output` / `-C` and `--monochrome-output` / `-M`: diff --git a/jq.1.prebuilt b/jq.1.prebuilt index b0939ca0..f6035b9b 100644 --- a/jq.1.prebuilt +++ b/jq.1.prebuilt @@ -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: |