[Koha-bugs] [Bug 11417] New: remove_unused_authorities.pl doesn't accept --test
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 18 15:02:11 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11417
Bug ID: 11417
Summary: remove_unused_authorities.pl doesn't accept --test
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Command-line Utilities
Assignee: gmcharlt at gmail.com
Reporter: gaetan.boisson at biblibre.com
QA Contact: testopia at bugs.koha-community.org
remove_unused_authorities.pl says in the help that it will accept both --test
and --t as arguments in order to only test and count eligible authorities
without removing them :
This script will parse all authoritiestypes 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
--t|test test mode, don't delete really, just count
--help or -h show this message.
but in practice it only accepts --t :
GetOptions(
'aut|authtypecode:s' => \@authtypes,
't' => \$test,
'h|help' => \$want_help
);
A user launching the script with --test will see a warning that there was an
unrecognised option, and the authorities will be deleted
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list