From: Eric Wong Date: Fri, 10 Jan 2014 21:06:40 +0000 (+0000) Subject: scripts/import_gmane_spool: fix name in usage X-Git-Tag: v1.0.0~1337 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=657097b189ee4eb683c0c6d5f157e7810f3e9868 scripts/import_gmane_spool: fix name in usage Just use $0 for now, since I suck at naming things. --- diff --git a/scripts/import_gmane_spool b/scripts/import_gmane_spool index b5573e15..b102a21d 100755 --- a/scripts/import_gmane_spool +++ b/scripts/import_gmane_spool @@ -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";