Use <foo|bar> since that seems to be the favored notation
for required command args (taking a hint from git(1) manpage).
While we're at it, remove the space after '<' for the redirect
to match git.git coding style.
#
# Used for training spam (via SpamAssassin) and removing messages from a
# public-inbox
#
# Used for training spam (via SpamAssassin) and removing messages from a
# public-inbox
-my $usage = "$0 (spam|ham) < /path/to/message";
+my $usage = "$0 <spam|ham|rm> </path/to/message";
use strict;
use warnings;
use PublicInbox::Config;
use strict;
use warnings;
use PublicInbox::Config;
-# spam is removed from all known inboxes
+# spam is removed from all known inboxes since it is often Bcc:-ed
if ($train eq 'spam') {
$pi_config->each_inbox(sub {
my ($ibx) = @_;
if ($train eq 'spam') {
$pi_config->each_inbox(sub {
my ($ibx) = @_;