diff --git a/scripts/oq b/scripts/oq index 01f435b..23d4137 100755 --- a/scripts/oq +++ b/scripts/oq @@ -10,7 +10,7 @@ # -agent agent config name # -backend backend override # -model model override -# -output output format hint (e.g. json) +# -json shorthand for -output json; emit JSONL output # -parallel run the same prompt N times in parallel (default: 1) # -keep do not remove job(s) after printing result # -bg submit job and exit immediately; prints session id(s); implies -keep @@ -33,7 +33,7 @@ Flags: -agent AGENT agent config name -backend BACKEND backend override (e.g. ollama, anthropic) -model MODEL model override - -output FORMAT output format hint (e.g. json) + -json emit JSONL: one {"session":...,"result":...} per line -parallel N run the same prompt N times in parallel (default: 1) -keep do not remove job(s) after printing result -bg submit and exit immediately; prints job id(s); implies -keep @@ -51,7 +51,7 @@ while [ $# -gt 0 ]; do -agent) agent=$2; shift ;; -backend) backend=$2; shift ;; -model) model=$2; shift ;; - -output) output=$2; shift ;; + -json) output=json ;; -parallel) parallel=$2; shift ;; -keep) keep=1 ;; -bg) bg=1; keep=1 ;; diff --git a/scripts/oq-q b/scripts/oq-q index c70b033..beec2c5 100644 --- a/scripts/oq-q +++ b/scripts/oq-q @@ -11,7 +11,7 @@ Flags: -agent AGENT agent config name -backend BACKEND backend override (e.g. ollama, anthropic) -model MODEL model override - -output FORMAT output format hint (e.g. json) + -json emit JSONL: one {"session":...,"result":...} per line -parallel N run N times in parallel (default: 1) -help show this help EOF