commit 9e2dca4076817f7e849f2a9526430a10172fbce9
parent 8f71da274b22b93654167166bf2447df45064b71
Author: Sascha Silbe <sascha-pgp@silbe.org>
Date: Tue, 18 Jan 2011 19:25:28 +0100
sup-sync: only show message id of deleted messages in verbose mode
We show message ids for added messages in verbose mode only, so we should do
the same for deleted messages.
Signed-off-by: Sascha Silbe
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup-sync b/bin/sup-sync
@@ -124,7 +124,7 @@ begin
num_scanned += 1
if action == :delete
num_deleted += 1
- puts "Deleting #{m.id}"
+ puts "Deleting #{m.id}" if opts[:verbose]
elsif action == :add
seen[m.id] = true