summaryrefslogtreecommitdiffstats
path: root/jq.1.prebuilt
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2023-07-23 00:01:52 -0500
committerNico Williams <nico@cryptonector.com>2023-07-23 03:33:28 -0500
commitf64ef1a7d7836ee60fb277d49302661af630d6c1 (patch)
tree8b68318f115e3d2db9ee4026e798a9a48bb2d441 /jq.1.prebuilt
parent123c78060773844866b964a67c6c21760aa9f701 (diff)
Fix --stream-errors w/o --stream, and doc+test (close #2748)
Diffstat (limited to 'jq.1.prebuilt')
-rw-r--r--jq.1.prebuilt9
1 files changed, 9 insertions, 0 deletions
diff --git a/jq.1.prebuilt b/jq.1.prebuilt
index 934f0e7b..8df532e3 100644
--- a/jq.1.prebuilt
+++ b/jq.1.prebuilt
@@ -73,6 +73,15 @@ Parse the input in streaming fashion, outputting arrays of path and leaf values
This is useful for processing very large inputs\. Use this in conjunction with filtering and the \fBreduce\fR and \fBforeach\fR syntax to reduce large inputs incrementally\.
.
.TP
+\fB\-\-stream\-errors\fR:
+.
+.IP
+Like \fB\-\-stream\fR, but invalid JSON inputs yield array calues where the first element is the error and the second is a path\. For example, \fB["a",n]\fR produces ["Invalid literal at line 1, column 9",[1]]`\.
+.
+.IP
+Implies \fB\-\-stream\fR\. Invalid JSON inputs produce no error values when \fB\-\-stream\fR without \fB\-\-stream\-errors\fR\.
+.
+.TP
\fB\-\-slurp\fR/\fB\-s\fR:
.
.IP