Prompt before pruning with count

This commit is contained in:
2026-02-19 16:51:38 +00:00
parent 9ef3ba000c
commit 5f49036a4d

View File

@@ -129,7 +129,8 @@ func applyCmd(args []string) error {
return removeLinks(stales) return removeLinks(stales)
} }
ok, err := promptYesNo("Found stale links. Prune them?", false) fmt.Printf("Stale links found: %d\n", len(stales))
ok, err := promptYesNo("Prune them?", false)
if err != nil { if err != nil {
return err return err
} }