scripts: replace -output with -json flag in oq and wrappers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Levi Neely 2026-04-18 11:17:42 +02:00
parent 2ac6378c7e
commit e0b9f3ece7
2 changed files with 4 additions and 4 deletions

View File

@ -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 ;;

View File

@ -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