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 <gmc@esilibrary.com>
(cherry picked from commit f4633cc5e5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 38c4ad601b)
This commit is contained in:
Galen Charlton 2014-04-11 15:25:41 +00:00 committed by Kyle M Hall
parent 1e43d9f881
commit ea8d10c3d3
1 changed files with 12 additions and 3 deletions

View File

@ -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