Skip to content
Myr

docs: Fix example outputs added in #2391

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by itchyny · committed by itchyny · parent e066172 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:docs/content/manual/manual.yml+3 added-3 removed
3184 unmodified lines
31853186 examples:3187 - program: .a = .b3188 input: '{"a": {"b": 10}, "b": 20}'3189 output: '{"a":20,"b":20}'3189 output: ['{"a":20,"b":20}']31903191 - program: .a |= .b3192 input: '{"a": {"b": 10}, "b": 20}'3193 output: '{"a":10,"b":20}'3193 output: ['{"a":10,"b":20}']31943195 - program: (.a, .b) = range(3)3196 input: 'null'3197 output:
2 unmodified lines
3200 - '{"a":2,"b":2}'32013202 - program: (.a, .b) |= range(3)3203 input: 'null'3204 output: '{"a":0,"b":0}'3204 output: ['{"a":0,"b":0}']32053206 - title: Complex assignments3207 body: |3208 Lots more things are allowed on the left-hand side of a jq assignment
197 unmodified lines