From 6417a29ba7a4e278f44eaf3bd8554483d9756c00 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 10 Mar 2025 10:51:11 +0000 Subject: [PATCH] Bug 38408: (QA follow-up) Rename --forks, add usage Content-Type: text/plain; charset=utf-8 Test plan: Run script with -h Signed-off-by: Marcel de Rooy --- misc/migration_tools/rebuild_zebra.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index b3fa97a0f5..e710778b88 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -100,7 +100,7 @@ my $result = GetOptions( 'run-as-root' => \$run_as_root, 'wait-for-lock' => \$wait_for_lock, 't|table:s' => \$table, - 'forks:i' => \$forks, + 'processes:i' => \$forks, ); if ( not $result or $want_help ) { @@ -1041,6 +1041,10 @@ Parameters: --table specify a table (can be items, biblioitems, biblio, biblio_metadata) to retrieve biblionumber to index. biblioitems is the default value. + --processes specify the number of processes (forks) for + parallel exporting authority or biblio records + (does not apply to the indexing step) + --help or -h show this message. _USAGE_ } -- 2.39.5