about summary refs log tree commit homepage
path: root/script/public-inbox-convert
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-14 08:47:40 +0000
committerEric Wong <e@80x24.org>2019-11-14 09:03:48 +0000
commitbc75e2ff649c4aab23320994e0d5bf96319a5595 (patch)
treec33a3e8f0c62471e1c2157a74fb3166992caceff /script/public-inbox-convert
parent6466b21e0776fdd88648730e7248d6887d380224 (diff)
downloadpublic-inbox-bc75e2ff649c4aab23320994e0d5bf96319a5595.tar.gz
We only need to parse the command-line once.
Diffstat (limited to 'script/public-inbox-convert')
-rwxr-xr-xscript/public-inbox-convert1
1 files changed, 0 insertions, 1 deletions
diff --git a/script/public-inbox-convert b/script/public-inbox-convert
index 3182410e..9bee5e7a 100755
--- a/script/public-inbox-convert
+++ b/script/public-inbox-convert
@@ -20,7 +20,6 @@ my %opts = (
         '--index!' => \$index,
 );
 GetOptions(%opts) or die "bad command-line args\n$usage";
-GetOptions(%opts) or die "bad command-line args\n$usage";
 my $old_dir = shift or die $usage;
 my $new_dir = shift or die $usage;
 die "$new_dir exists\n" if -d $new_dir;