From a1db47122dd681fcb357e0a84c5d2ef1787983cc Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Mon, 29 Nov 2021 21:06:49 +1100 Subject: [PATCH] Fixed header --- usage/tips-and-tricks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage/tips-and-tricks.md b/usage/tips-and-tricks.md index 50ceec54..fa852511 100644 --- a/usage/tips-and-tricks.md +++ b/usage/tips-and-tricks.md @@ -76,7 +76,7 @@ To merge all given yaml files into one, use the `reduce` operator with the `*` ( yq ea '. as $item ireduce ({}; . * $item )' file1.yml file2.yml ... ``` -# Merge an array of objects by key +## Merge an array of objects by key See [here](https://mikefarah.gitbook.io/yq/operators/multiply-merge#merge-arrays-of-objects-together-matching-on-a-key) for a working example.