Bug 30893: Fix documentation in update_patrons_category.pl
authorNick Clemens <nick@bywatersolutions.com>
Fri, 3 Jun 2022 11:35:34 +0000 (11:35 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 14:36:52 +0000 (11:36 -0300)
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
misc/cronjobs/update_patrons_category.pl

index 8ef7fe7..b1e9cc4 100755 (executable)
@@ -44,9 +44,9 @@ Options:
    --help                   brief help message
    --man                    full documentation
    -too_old                 update if over  maximum age for current category
-   -too_young               update if under minimuum age  current category
-   -fo=X --fineover=X       update if fines over  X amount
-   -fu=X --fineunder=X      update if fines under X amount
+   -too_young               update if under minimuum age current category
+   -fo=X --finesover=X      update if fines over X amount
+   -fu=X --finesunder=X     update if fines under X amount
    -rb=date --regbefore     update if registration date is before given date
    -ra=date --regafter      update if registration date is after a given date
    -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>
@@ -79,16 +79,16 @@ Commit changes. Unless this flag set is, the script will report changes but not
 
 =item B<--branch | -b>
 
-changes patrons for one specific branch. Use the value in the
+Changes patrons for one specific branch. Use the value in the
 branches.branchcode table.
 
 =item B<--from | -f>
 
-*required* defines the category to update. Expects the code from categories.categorycode.
+*Required* Defines the category to update. Expects the code from categories.categorycode.
 
 =item B<--to | -t>
 
-*required* defines the category patrons will be converted to. Expects the code from categories.categorycode.
+*Required* Defines the category patrons will be converted to. Expects the code from categories.categorycode.
 
 =item B<--too_old>
 
@@ -98,11 +98,11 @@ Update patron only if they are above the maximum age range specified for the 'fr
 
 Update patron only if they are below the minimum age range specified for the 'from' category.
 
-=item B<--fineover=X | -fo=X>
+=item B<--finesover=X | -fo=X>
 
 Supply a number and only account with fines over this number will be updated.
 
-=item B<--fineunder=X | -fu=X>
+=item B<--finesunder=X | -fu=X>
 
 Supply a number and only account with fines under this number will be updated.