[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5831: rebuild_zebra.pl doesn't respect -r

ruth at bywatersolutions.com ruth at bywatersolutions.com
Fri Mar 4 21:08:22 CET 2011


From: Ian Walls <ian.walls at bywatersolutions.com>

Reimplements support for -r, as well for -reset

Signed-off-by: D Ruth Bavousett <ruth at bywatersolutions.com>
---
 misc/migration_tools/rebuild_zebra.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl
index bd11494..682c280 100755
--- a/misc/migration_tools/rebuild_zebra.pl
+++ b/misc/migration_tools/rebuild_zebra.pl
@@ -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,
-- 
1.7.2.3



More information about the Koha-patches mailing list