Correct the Vaultik.UI doc comment about --cron (closes #84) #86

Merged
clawbot merged 1 commits from fix-ui-cron-comment into main 2026-08-09 07:43:46 +02:00

1 Commits

Author SHA1 Message Date
dcf3dd3756 Correct the Vaultik.UI doc comment about --cron (closes #84)
All checks were successful
check / check (pull_request) Successful in 2m59s
The field comment claimed the cli layer replaces the UI writer with a
discarding writer in --cron mode. It does not: the writer is created
once as ui.New(os.Stdout) and never reassigned, and setupGlobals calls
UI.SetQuiet(true) instead. Quiet mode drops Begin, Complete, Info,
Notice, Detail, Progress, and Banner, but Warningf and Errorf have no
quiet check and always emit, so --cron does not make the writer silent.

The README's --cron bullet had the adjacent understatement ("Silent
unless error"), and now names warnings as well.

Comments and documentation only; no behavior change.
2026-08-09 05:37:23 +00:00