From 8b095a648404aee8ed0775ac903753590a06d25c Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Sun, 15 Sep 2013 13:30:18 +0200 Subject: [PATCH]Bug 10555: Update list of options displayed by overdue_notices.pl --help Content-Type: text/plain; charset="utf-8" Very cosmetic patch... overdue_notices.pl --help display - an "usage" line - a first list of options, with short descriptions - a long list of options, with long descriptions 4 options are only in the 3rd, long list. They should also be in the "usage" line and in the short list. To test : run perl overdue_notice.pl --help and check all the options are displayed --- misc/cronjobs/overdue_notices.pl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 0f263c4..368529c 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -51,8 +51,8 @@ overdue_notices.pl - prepare messages to be sent to patrons for overdue items overdue_notices.pl [ -n ][ -library ][ -library ... ] [ -max ][ -csv [] ][ -itemscontent ] - [ -email ... ] - + [ -t|-triggered ][ -list-all ][ -date ][ -email ... ][ -v ] + Options: -help brief help message -man full documentation @@ -64,8 +64,12 @@ overdue_notices.pl -itemscontent item information in templates -borcat category code that must be included -borcatout category code that must be excluded + -list-all include all overdue items in the list (limited by <-max> setting) + -triggered|t generate a notice if and only if an item is overdue by the number of days defined in a notice trigger + -date send overdues on a specific date and not Now -email type of email that will be used. Can be 'email', 'emailpro' or 'B_email'. Repeatable. - + -v verbose mode + =head1 OPTIONS =over 8 -- 1.7.9.5