Skip to content

Commit

Permalink
jaq -j now imply -r
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Nov 19, 2024
1 parent 9d1d4a3 commit 636ae7e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jqjq.jq
Original file line number Diff line number Diff line change
Expand Up @@ -2834,9 +2834,8 @@ def invoke_client_jqjq:
| parse_options
| [ (.jq // "jq" | sh_escape)
, if .action == "run-tests" then "-nsRr"
# TODO: jaq: -j does not imply -r
elif .mode == "repl" then "-njrR"
else "-njr"
elif .mode == "repl" then "-njR"
else "-nj"
end
, if .unbuffered_output and
(.jq == null or (.jq | test("(^|[/\\\\])(gojq|jaq)[^/\\\\]*$") | not)) then
Expand Down

0 comments on commit 636ae7e

Please sign in to comment.