Bug 5831: rebuild_zebra.pl doesn't respect -r
authorIan Walls <ian.walls@bywatersolutions.com>
Fri, 4 Mar 2011 20:08:22 +0000 (15:08 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 5 Mar 2011 19:44:57 +0000 (08:44 +1300)
Reimplements support for -r, as well for -reset

Signed-off-by: D Ruth Bavousett <ruth@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/migration_tools/rebuild_zebra.pl

index bd11494..682c280 100755 (executable)
@@ -37,7 +37,7 @@ my $verbose_logging;
 my $zebraidx_log_opt = " -v none,fatal,warn ";
 my $result = GetOptions(
     'd:s'           => \$directory,
-    'reset'         => \$reset,
+    'r|reset'       => \$reset,
     's'             => \$skip_export,
     'k'             => \$keep_export,
     'nosanitize'    => \$nosanitize,