From 241ef6fbabd22fd6925c4655de134084cb115c86 Mon Sep 17 00:00:00 2001 From: neuroevolutus <19356702+neuroevolutus@users.noreply.github.com> Date: Sat, 11 Mar 2023 19:16:05 -0600 Subject: [PATCH] Reword explanation of update --- pkg/yqlib/doc/operators/assign-update.md | 2 +- pkg/yqlib/doc/operators/headers/assign-update.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/yqlib/doc/operators/assign-update.md b/pkg/yqlib/doc/operators/assign-update.md index 5885efc9..c9a7b60a 100644 --- a/pkg/yqlib/doc/operators/assign-update.md +++ b/pkg/yqlib/doc/operators/assign-update.md @@ -3,7 +3,7 @@ This operator is used to update node values. It can be used in either the: ### plain form: `=` -Which will assign the LHS node values to the RHS node values. The RHS expression is run against the matching nodes in the pipeline. +Which will set the LHS node values equal to the RHS node values. The RHS expression is run against the matching nodes in the pipeline. ### relative form: `|=` This will do a similar thing to the plain form, however, the RHS expression is run against _the LHS nodes_. This is useful for updating values based on old values, e.g. increment. diff --git a/pkg/yqlib/doc/operators/headers/assign-update.md b/pkg/yqlib/doc/operators/headers/assign-update.md index fc139f36..774fbfe7 100644 --- a/pkg/yqlib/doc/operators/headers/assign-update.md +++ b/pkg/yqlib/doc/operators/headers/assign-update.md @@ -3,7 +3,7 @@ This operator is used to update node values. It can be used in either the: ### plain form: `=` -Which will assign the LHS node values to the RHS node values. The RHS expression is run against the matching nodes in the pipeline. +Which will set the LHS node values equal to the RHS node values. The RHS expression is run against the matching nodes in the pipeline. ### relative form: `|=` This will do a similar thing to the plain form, however, the RHS expression is run against _the LHS nodes_. This is useful for updating values based on old values, e.g. increment.