]> Sergey Matveev's repositories - public-inbox.git/commitdiff
scripts/import_gmane_spool: fix name in usage
authorEric Wong <e@80x24.org>
Fri, 10 Jan 2014 21:06:40 +0000 (21:06 +0000)
committerEric Wong <e@80x24.org>
Fri, 10 Jan 2014 21:20:32 +0000 (21:20 +0000)
Just use $0 for now, since I suck at naming things.

scripts/import_gmane_spool

index b5573e1574cde2e639b4a82dc9d41ffd90eda27b..b102a21d5bc81868590b46f8d524df4f0060f755 100755 (executable)
@@ -9,7 +9,7 @@ use Parallel::ForkManager;
 use Email::Simple;
 use PublicInbox::Filter;
 use IPC::Run qw(run);
-my $usage = "import_nntp_spool SLRNPULL_ROOT/news/foo/bar MAIN_REPO FAIL_REPO";
+my $usage = "$0 SLRNPULL_ROOT/news/foo/bar MAIN_REPO FAIL_REPO";
 my $spool = shift @ARGV or die "Usage: $usage\n";
 my $main_repo = shift @ARGV or die "Usage: $usage\n";
 my $fail_repo = shift @ARGV or die "Usage: $usage\n";