Fixed with semicolon space issue

This commit is contained in:
Mike Farah
2021-09-15 22:24:03 +10:00
parent 3339562aa2
commit 2292f0ffb4
4 changed files with 12 additions and 7 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ a:
```
then
```bash
yq eval 'with(.a.deeply.nested ; . = "newValue" | . style="single")' sample.yml
yq eval 'with(.a.deeply.nested; . = "newValue" | . style="single")' sample.yml
```
will output
```yaml
@@ -28,7 +28,7 @@ a:
```
then
```bash
yq eval 'with(.a.deeply ; .nested = "newValue" | .other= "newThing")' sample.yml
yq eval 'with(.a.deeply; .nested = "newValue" | .other= "newThing")' sample.yml
```
will output
```yaml
@@ -47,7 +47,7 @@ myArray:
```
then
```bash
yq eval 'with(.myArray[] ; .b = .a + " yum")' sample.yml
yq eval 'with(.myArray[]; .b = .a + " yum")' sample.yml
```
will output
```yaml