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

Merge pull request #119 from 13ren/master

tiny typo fix in manual
This commit is contained in:
Stephen Dolan
2013-05-07 03:57:47 -07:00

View File

@@ -1040,7 +1040,7 @@ sections:
If you want the value-argument behaviour for defining simple
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
input's `.foo` field to each element of the array.