diff --git a/cmd/restic/cmd_prune.go b/cmd/restic/cmd_prune.go index cb0c67364..6321a947e 100644 --- a/cmd/restic/cmd_prune.go +++ b/cmd/restic/cmd_prune.go @@ -196,6 +196,10 @@ func runPruneWithRepo(ctx context.Context, opts PruneOptions, gopts GlobalOption return err } + if opts.DryRun { + Verbosef("\nWould have made the following changes:") + } + err = printPruneStats(stats) if err != nil { return err