From 0e71e72e39472832c97866c7f32f4a62d7b7e6a0 Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Sun, 10 Oct 2021 14:25:12 +0000
Subject: [PATCH] admin: add '# ' prefix for progress messages

It's more consistent with TAP output and hopefully puts
users at ease in case they don't understand the meaning
of a message.
---
 lib/PublicInbox/Admin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm
index a17a632c..11ea8f83 100644
--- a/lib/PublicInbox/Admin.pm
+++ b/lib/PublicInbox/Admin.pm
@@ -320,7 +320,7 @@ sub progress_prepare ($;$) {
 	} else {
 		$opt->{verbose} ||= 1;
 		$dst //= *STDERR{GLOB};
-		$opt->{-progress} = sub { print $dst @_ };
+		$opt->{-progress} = sub { print $dst '# ', @_ };
 	}
 }
 
-- 
2.50.0