From e28f33dc1b6e6a296946c0c58b43900c6cbd07f7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 Oct 2022 08:43:12 +0000 Subject: treewide: replace /^I: / prefix with /^# / This is like more familiar to readers of TAP (Test Anywhere Protocol) output, as well as shell and Perl scripters which also use `#' for comments. AFAIK, nobody is parsing our stderr, and I'm not sure how standardized the `I:' prefix is (nor `W:' and `E:' are). It's already the prevailing style in Lei* code, too, so things have been moving in that direction for a bit. --- script/public-inbox-watch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'script/public-inbox-watch') diff --git a/script/public-inbox-watch b/script/public-inbox-watch index af02d8f3..4c50461f 100755 --- a/script/public-inbox-watch +++ b/script/public-inbox-watch @@ -1,5 +1,5 @@ #!/usr/bin/perl -w -# Copyright (C) 2016-2021 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ my $help = <quit; $watch = PublicInbox::Watch->new(PublicInbox::Config->new); if ($watch) { - warn("I: reloaded\n"); + warn "# reloaded\n"; } else { warn("E: reloading failed\n"); $watch = $prev; @@ -37,7 +37,7 @@ my $reload = sub { if ($watch) { my $scan = sub { return if !$watch; - warn "I: scanning\n"; + warn "# scanning\n"; $watch->trigger_scan('full'); }; my $quit = sub { -- cgit v1.2.3-24-ge0c7