From 84f9ff98a3b2ce5ac016a536c41a7988759603f2 Mon Sep 17 00:00:00 2001 From: neuroevolutus <19356702+neuroevolutus@users.noreply.github.com> Date: Sun, 12 Mar 2023 12:49:17 -0500 Subject: [PATCH] Reword explanation of `...` operator --- pkg/yqlib/doc/operators/headers/recursive-descent-glob.md | 2 +- pkg/yqlib/doc/operators/recursive-descent-glob.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/yqlib/doc/operators/headers/recursive-descent-glob.md b/pkg/yqlib/doc/operators/headers/recursive-descent-glob.md index 17a25e6a..5ade5dec 100644 --- a/pkg/yqlib/doc/operators/headers/recursive-descent-glob.md +++ b/pkg/yqlib/doc/operators/headers/recursive-descent-glob.md @@ -12,7 +12,7 @@ yq '.. style= "flow"' file.yaml ``` ## match values and map keys form `...` -The also includes map keys in the results set. This is particularly useful in YAML as unlike JSON, map keys can have their own styling, tags and use anchors and aliases. +The also includes map keys in the results set. This is particularly useful in YAML as unlike JSON, map keys can have their own styling and tags and also use anchors and aliases. For instance to set the `style` of all nodes in a yaml doc, including the map keys: diff --git a/pkg/yqlib/doc/operators/recursive-descent-glob.md b/pkg/yqlib/doc/operators/recursive-descent-glob.md index 24361ac2..cfcb7dae 100644 --- a/pkg/yqlib/doc/operators/recursive-descent-glob.md +++ b/pkg/yqlib/doc/operators/recursive-descent-glob.md @@ -12,7 +12,7 @@ yq '.. style= "flow"' file.yaml ``` ## match values and map keys form `...` -The also includes map keys in the results set. This is particularly useful in YAML as unlike JSON, map keys can have their own styling, tags and use anchors and aliases. +The also includes map keys in the results set. This is particularly useful in YAML as unlike JSON, map keys can have their own styling and tags and also use anchors and aliases. For instance to set the `style` of all nodes in a yaml doc, including the map keys: