]> granicus.if.org Git - jq/commitdiff
Fix examples for `del` in manual 475/head
authorHanfei Shen <qqshfox@gmail.com>
Wed, 9 Jul 2014 08:31:25 +0000 (16:31 +0800)
committerHanfei Shen <qqshfox@gmail.com>
Wed, 9 Jul 2014 08:37:17 +0000 (16:37 +0800)
docs/content/3.manual/manual.yml

index ea5cc82533c3bbf9d2eb4232e3b47223f1152105..64ade509b34338e7f2bed8753275a7ac78159558 100644 (file)
@@ -658,10 +658,10 @@ sections:
 
         examples:
           - program: 'del(.foo)'
-            input: '[{"foo": 42, "bar": 9001, "baz": 42}]'
+            input: '{"foo": 42, "bar": 9001, "baz": 42}'
             output: ['{"bar": 9001, "baz": 42}']
           - program: 'del(.[1, 2])'
-            input: '[["foo", "bar", "baz"]]'
+            input: '["foo", "bar", "baz"]'
             output: ['["foo"]']
 
       - title: "`to_entries`, `from_entries`, `with_entries`"