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: gmcha...@gmail.com
          Reporter: gaetan.bois...@biblibre.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to