summaryrefslogtreecommitdiffstats
path: root/docs/cli-doc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli-doc.txt')
-rw-r--r--docs/cli-doc.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/cli-doc.txt b/docs/cli-doc.txt
index e0d9cae..8880e75 100644
--- a/docs/cli-doc.txt
+++ b/docs/cli-doc.txt
@@ -1,5 +1,6 @@
usage: yq [options] <jq filter> [input file...]
- [--indentless-lists] [--in-place] [--version]
+ [--indentless-lists] [--explicit-start] [--explicit-end]
+ [--in-place] [--version]
[jq_filter] [files ...]
yq: Command-line YAML processor - jq wrapper for YAML documents
@@ -11,7 +12,7 @@ positional arguments:
jq_filter
files
-optional arguments:
+options:
-h, --help show this help message and exit
--yaml-output, --yml-output, -y
Transcode jq JSON output back into YAML and emit it
@@ -23,6 +24,8 @@ optional arguments:
When using --yaml-output, specify string wrap width
--indentless-lists, --indentless
When using --yaml-output, indent block style lists (sequences) with 0 spaces instead of 2
+ --explicit-start When using --yaml-output, always emit explicit document start ("---")
+ --explicit-end When using --yaml-output, always emit explicit document end ("...")
--in-place, -i Edit files in place (no backup - use caution)
--version show program's version number and exit