Fix --stream-errors w/o --stream, and doc+test (close #2748)

This commit is contained in:
Nicolas Williams authored and Nico Williams committed 2023-07-23 03:33:28 -05:00
1 parent 123c780607
commit f64ef1a7d7
4 files changed
+25 -1

No files matched your search

+1 -1
View File
@@ -465,7 +465,7 @@ int main(int argc, char* argv[]) {
continue;
}
if (isoption(argv[i], 0, "stream-errors", &short_opts)) {
parser_flags |= JV_PARSE_STREAM_ERRORS;
parser_flags |= JV_PARSE_STREAMING | JV_PARSE_STREAM_ERRORS;
continue;
}
if (isoption(argv[i], 'e', "exit-status", &short_opts)) {