diff options
author | Eric Wong <e@80x24.org> | 2022-10-20 08:43:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-10-24 08:18:28 +0000 |
commit | e28f33dc1b6e6a296946c0c58b43900c6cbd07f7 (patch) | |
tree | b7ea15e426dda5f6d4223d5ce559e7366a58bf07 /script/public-inbox-watch | |
parent | 619f4d617356c945321636e85b51ab4594d9e19d (diff) | |
download | public-inbox-e28f33dc1b6e6a296946c0c58b43900c6cbd07f7.tar.gz |
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.
Diffstat (limited to 'script/public-inbox-watch')
-rwxr-xr-x | script/public-inbox-watch | 6 |
1 files changed, 3 insertions, 3 deletions
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 <meta@public-inbox.org> +# Copyright (C) all contributors <meta@public-inbox.org> # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> my $help = <<EOF; usage: public-inbox-watch @@ -27,7 +27,7 @@ my $reload = sub { $watch->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 { |