summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Bozeman th026106 <thomas.bozeman@digitalglobe.com>2023-10-03 17:50:08 +0000
committerEmanuele Torre <torreemanuele6@gmail.com>2023-10-03 22:48:12 +0200
commit7f547827e47b5ade563a293329deb4226496d72f (patch)
tree7918c86308a5d0caffc97b76a7a120e3023b37cd /tests
parent6b5a18f0369eb765c1c9542cc886d389dac66c50 (diff)
Simplify `pick` example
Old pick example included input array in command line, making `input` confusing and redundant.
Diffstat (limited to 'tests')
-rw-r--r--tests/man.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/man.test b/tests/man.test
index 822de5ab..07938cd5 100644
--- a/tests/man.test
+++ b/tests/man.test
@@ -249,7 +249,7 @@ pick(.a, .b.c, .x)
{"a": 1, "b": {"c": 2, "d": 3}, "e": 4}
{"a":1,"b":{"c":2},"x":null}
-[1,2,3,4] | pick(.[2], .[0], .[0])
+pick(.[2], .[0], .[0])
[1,2,3,4]
[1,null,3]