Fixed doc typos (#1457)

This commit is contained in:
muzimuzhi 2022-12-05 13:49:31 +08:00 committed by GitHub
parent 25e91abe3a
commit 95a5e3b9e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@ description: >-
Note that (as of 4.18.1) this is the default command when none is supplied to yq.
## Usage: 
## Usage:
```bash
yq eval [expression] [yaml_file1]... [flags]

View File

@ -130,7 +130,7 @@ See the [multiply documentation](https://mikefarah.gitbook.io/yq/operators/multi
### Prefix yaml
Use the [Create / Collect Into Object ](broken-reference)operator to create a new object with the desired prefix. 
Use the [Create / Collect Into Object ](broken-reference)operator to create a new object with the desired prefix.
v3:

View File

@ -4,15 +4,15 @@ description: Flags to control yaml and json output format
# Output format
These flags are available for all `yq` commands. 
These flags are available for all `yq` commands.
## Color
By default, `yq` prints with colours if it detects a terminal. You can manully this by using either
By default, `yq` prints with colours if it detects a terminal. You can manually change this by using either
The `--colors/-C`flag to force print with colors. 
The `--colors/-C` flag to force print with colors.
The \``--no-colors/-M` flag to force print without colours
The `--no-colors/-M` flag to force print without colours
## Pretty Print
@ -20,7 +20,7 @@ To print out idiomatic `yaml` use the `--prettyPrint/-P` flag. Note that this is
## Indent
Use the indent flag `--indent/-I` to control the number of spaces used for indentation. This also works for JSON output. The default value is 2. 
Use the indent flag `--indent/-I` to control the number of spaces used for indentation. This also works for JSON output. The default value is 2.
Note that lists are indented at the same level as the map key at indent level 2, but are more deeply indented at indent level 4 and greater. This is (currently) a quirk of the underlying [yaml parser](https://github.com/go-yaml/yaml/tree/v3).