From bc75e2ff649c4aab23320994e0d5bf96319a5595 Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Thu, 14 Nov 2019 08:47:40 +0000
Subject: [PATCH] convert: remove duplicated GetOptions() call

We only need to parse the command-line once.
---
 script/public-inbox-convert | 1 -
 1 file changed, 1 deletion(-)

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;
-- 
2.51.0