Lines 44-52
Options:
Link Here
|
44 |
--help brief help message |
44 |
--help brief help message |
45 |
--man full documentation |
45 |
--man full documentation |
46 |
-too_old update if over maximum age for current category |
46 |
-too_old update if over maximum age for current category |
47 |
-too_young update if under minimuum age current category |
47 |
-too_young update if under minimuum age current category |
48 |
-fo=X --fineover=X update if fines over X amount |
48 |
-fo=X --finesover=X update if fines over X amount |
49 |
-fu=X --fineunder=X update if fines under X amount |
49 |
-fu=X --finesunder=X update if fines under X amount |
50 |
-rb=date --regbefore update if registration date is before given date |
50 |
-rb=date --regbefore update if registration date is before given date |
51 |
-ra=date --regafter update if registration date is after a given date |
51 |
-ra=date --regafter update if registration date is after a given date |
52 |
-d --field name=value where <name> is a column in the borrowers table, patrons will be updated if the field is equal to given <value> |
52 |
-d --field name=value where <name> is a column in the borrowers table, patrons will be updated if the field is equal to given <value> |
Lines 79-94
Commit changes. Unless this flag set is, the script will report changes but not
Link Here
|
79 |
|
79 |
|
80 |
=item B<--branch | -b> |
80 |
=item B<--branch | -b> |
81 |
|
81 |
|
82 |
changes patrons for one specific branch. Use the value in the |
82 |
Changes patrons for one specific branch. Use the value in the |
83 |
branches.branchcode table. |
83 |
branches.branchcode table. |
84 |
|
84 |
|
85 |
=item B<--from | -f> |
85 |
=item B<--from | -f> |
86 |
|
86 |
|
87 |
*required* defines the category to update. Expects the code from categories.categorycode. |
87 |
*Required* Defines the category to update. Expects the code from categories.categorycode. |
88 |
|
88 |
|
89 |
=item B<--to | -t> |
89 |
=item B<--to | -t> |
90 |
|
90 |
|
91 |
*required* defines the category patrons will be converted to. Expects the code from categories.categorycode. |
91 |
*Required* Defines the category patrons will be converted to. Expects the code from categories.categorycode. |
92 |
|
92 |
|
93 |
=item B<--too_old> |
93 |
=item B<--too_old> |
94 |
|
94 |
|
Lines 98-108
Update patron only if they are above the maximum age range specified for the 'fr
Link Here
|
98 |
|
98 |
|
99 |
Update patron only if they are below the minimum age range specified for the 'from' category. |
99 |
Update patron only if they are below the minimum age range specified for the 'from' category. |
100 |
|
100 |
|
101 |
=item B<--fineover=X | -fo=X> |
101 |
=item B<--finesover=X | -fo=X> |
102 |
|
102 |
|
103 |
Supply a number and only account with fines over this number will be updated. |
103 |
Supply a number and only account with fines over this number will be updated. |
104 |
|
104 |
|
105 |
=item B<--fineunder=X | -fu=X> |
105 |
=item B<--finesunder=X | -fu=X> |
106 |
|
106 |
|
107 |
Supply a number and only account with fines under this number will be updated. |
107 |
Supply a number and only account with fines under this number will be updated. |
108 |
|
108 |
|
109 |
- |
|
|