]> git.donarmstrong.com Git - debbugs.git/blobdiff - bin/debbugs-loadsql
use GetOptionsFromArray instead of the OO method, because wheezy's Getopt doesn't...
[debbugs.git] / bin / debbugs-loadsql
index d032c5d37d9817479efcbbf73b1d9c312c69b0ed..c4722cd06ac6565c2187788cd3d44c9fc71443fb 100755 (executable)
@@ -78,7 +78,7 @@ debbugs configuration file.
 Output more information about what is happening. Probably not useful
 if you also set --progress.
 
-=item B<--debug, -d
+=item B<--debug, -d>
 
 Debug verbosity.
 
@@ -115,7 +115,7 @@ my %options =
      verbose         => 0,
      quiet           => 0,
      quick           => 0,
-     service         => 'debbugs',
+     service         => $config{debbugs_db},
      progress        => 0,
     );
 
@@ -413,7 +413,7 @@ sub add_logs {
 sub handle_subcommand_arguments {
     my ($argv,$args,$gop) = @_;
     my $subopt = {};
-    $gop->getoptionsfromarray($argv,
+    Getopt::Long::GetOptionsFromArray($argv,
                               $subopt,
                               keys %{$args},
                              );