1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Update docs/content/3.manual/manual.yml

There's a , after map ; should be .
#65
This commit is contained in:
13ren
2013-01-13 17:33:01 +11:00
parent 925ec3751f
commit d0cd26cd8e

View File

@@ -995,7 +995,7 @@ sections:
If you want the value-argument behaviour for defining simple If you want the value-argument behaviour for defining simple
functions, you can just use a variable: functions, you can just use a variable:
def addvalue(f): f as $value | map(, + $value); def addvalue(f): f as $value | map(. + $value);
With that definition, `addvalue(.foo)` will add the current With that definition, `addvalue(.foo)` will add the current
input's `.foo` field to each element of the array. input's `.foo` field to each element of the array.