From f4633cc5e51e8859f93be397eaee1370afc54099 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 11 Apr 2014 15:25:41 +0000 Subject: [PATCH] Bug 11441: (follow-up) improve utility help text This patch expands and reformats the help text displayed when running remove_unused_authorities.pl -h. Signed-off-by: Galen Charlton --- misc/migration_tools/remove_unused_authorities.pl | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/misc/migration_tools/remove_unused_authorities.pl b/misc/migration_tools/remove_unused_authorities.pl index 5171538e83..28c651ff6f 100755 --- a/misc/migration_tools/remove_unused_authorities.pl +++ b/misc/migration_tools/remove_unused_authorities.pl @@ -84,10 +84,19 @@ print "$counter authorities parsed, $totdeleted deleted and $totundeleted unchan sub print_usage { print <<_USAGE_; -$0: Removes unused authorities. +$0: Remove unused authority records + +This script removes authority records that do not have any biblio +records attached to them. + +If the --aut option is supplied, only authority records of that +particular type will be checked for usage. --aut can be repeated. + +If --aut is not supplied, all authority records will be checked. + +Use --test to perform a test run. This script does not ask the +operator to confirm the deletion of each authority record. -This script will parse all authoritiestypes (or only those given as parameter), and remove authorities without any biblio attached. -warning : there is no individual confirmation ! parameters --aut|authtypecode TYPE the list of authtypes to check --test or -t test mode, don't delete really, just count -- 2.20.1