aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
committersalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
commit45d0d3c5f431688aa9dfbd6a4214256d6fe64122 (patch)
tree862ca7949b0e6c1c8084f2fe7431bfa56364d8fc /src/main.rs
parent0.9.1: correctness fixes from the audit (diff)
downloadagent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.tar.gz
agent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.zip
0.9.2: doc accuracy and UX fixes from the review
- missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 0e5d49a..b17359b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -29,6 +29,7 @@ OPTIONS:
29 -m, --model <ID> model id (default: deepseek-v4.1-flash) 29 -m, --model <ID> model id (default: deepseek-v4.1-flash)
30 --base-url <URL> provider base URL 30 --base-url <URL> provider base URL
31 --session <ID> resume a session, creating it if the id is new 31 --session <ID> resume a session, creating it if the id is new
32 (alias: --resume)
32 -c, --continue resume the most recent session 33 -c, --continue resume the most recent session
33 --list list sessions and exit 34 --list list sessions and exit
34 --show [ID] print a transcript (most recent if no ID) and exit 35 --show [ID] print a transcript (most recent if no ID) and exit
@@ -220,7 +221,7 @@ fn run(args: Args) {
220 Ok(cfg) => cfg, 221 Ok(cfg) => cfg,
221 Err(message) => { 222 Err(message) => {
222 eprintln!("agent686: {message}"); 223 eprintln!("agent686: {message}");
223 std::process::exit(2); 224 std::process::exit(1);
224 } 225 }
225 }; 226 };
226 227