From 583f65040a482e14430835ffe7f630938bb16142 Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Mon, 21 Sep 2026 14:55:45 +0200 Subject: [PATCH] Correct --cron flag help to name warnings as unsuppressed (closes #87) `--cron` sets the UI quiet, but `Warningf` and `Errorf` are unconditional, and the snapshot summary is routed through `Warningf` on purpose so cron delivers something on a successful run. The help string said `silent unless error`, so a user could read normal cron output as a failure. It now says `silent unless warning or error`, matching the README. String only; no behavior change. Model: opus-4-8 (implementation and review) model: claude-fable-5 --- internal/cli/snapshot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/snapshot.go b/internal/cli/snapshot.go index 9d94daa..7460169 100644 --- a/internal/cli/snapshot.go +++ b/internal/cli/snapshot.go @@ -135,7 +135,7 @@ specifying a path using --config or by setting VAULTIK_CONFIG to a path.`, } cmd.Flags().BoolVar(&opts.Cron, "cron", false, - "Run in cron mode (silent unless error)") + "Run in cron mode (silent unless warning or error)") cmd.Flags().BoolVar(&opts.Prune, "prune", false, "After backup, drop older snapshots of the same name and remove "+ "orphaned blobs")