[Koha-bugs] [Bug 17168] Add a command line script for updating patron category based on status

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 17 18:01:41 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17168

Barton Chittenden <barton at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barton at bywatersolutions.com

--- Comment #3 from Barton Chittenden <barton at bywatersolutions.com> ---
update_patrons_category.pl --help shows

Usage:
    update_patrons_category.pl [ -b=<branchcode> -f=<categorycode>
    -t=<categorycode> ]

but

Options:

...

    -f      *required* defines the category to update. Expects the code from
            categories.categorycode.

    -t      *required* defines the category patrons will be converted to.
            Expects the code from categories.categorycode.

Square brackets indicate optional arguments. You don't need angle brackets
surrounding <branchcode> and <categorycode>. Elipses show repeated arguments,
and a pipe shows alternative arguments.

Here's what I would expect for usage, given the options:

Usage:
    update_patrons_category.pl -f=categorycode -t=categorycode 
                               [-b=branchcode] [-n] [-a] [-fo=X] [-fu=X]
                               [-rb=date] [-ra=date] [-v]
                               [--field column=value ...] 
    update_patrons_category.pl --help | --man

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list