From 636ae7ed5c986f88997effa4ca19c6245d45ccb2 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Tue, 19 Nov 2024 11:37:38 +0100 Subject: [PATCH] jaq -j now imply -r --- jqjq.jq | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/jqjq.jq b/jqjq.jq index 0274490..accd662 100644 --- a/jqjq.jq +++ b/jqjq.jq @@ -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