From 00cf5afd52fbe0679b87d4f1ba0d76d3892f5069 Mon Sep 17 00:00:00 2001 From: Timothy Alexis Vass Date: Wed, 25 Nov 2020 07:45:39 +0000 Subject: [PATCH] Bug 27085: Corrections in overdue_notices.pl help text -library only deal with overdues from this library (repeatable : several libraries can be given) Should be Help text should also be proper sentences. To test: 0) Run misc/cronjobs/overdue_notices.pl -h 1) Check that the text is now: -library Only deal with overdues from this library. 2) Check that the rest of the help text are proper sentences, with leading capital letter and punctuation. 3) Sign off. Sponsored-by: Lunds Universitetsbibliotek Signed-off-by: Fridolin Somers Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 1ad7d034e65d0b518335086345f2f533d1898c56) Signed-off-by: Fridolin Somers --- misc/cronjobs/overdue_notices.pl | 34 +++++++++++++++++--------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 591feea145..2cad47a0d8 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -58,23 +58,25 @@ overdue_notices.pl [ -email ... ] Options: - -help brief help message - -man full documentation - -v verbose - -n No email will be sent - -max maximum days overdue to deal with - -library only deal with overdues from this library (repeatable : several libraries can be given) - -csv populate CSV file - -html Output html to a file in the given directory - -text Output plain text to a file in the given directory - -itemscontent item information in templates - -borcat category code that must be included - -borcatout category code that must be excluded - -t only include triggered overdues + -help Brief help message. + -man Full documentation. + -v Verbose mode. + -n No email will be sent. + -max Maximum days overdue to deal with. + -library Only deal with overdues from this library. + (repeatable : several libraries can be given) + -csv Populate CSV file. + -html Output html to a file in the given directory. + -text Output plain text to a file in the given directory. + -itemscontent Item information in templates. + -borcat Category code that must be included. + -borcatout Category code that must be excluded. + -t Only include triggered overdues. --test Run in test mode. No changes will be made on the DB. - -list-all list all overdues - -date emulate overdues run for this date - -email type of email that will be used. Can be 'email', 'emailpro' or 'B_email'. Repeatable. + -list-all List all overdues. + -date Emulate overdues run for this date. + -email Type of email that will be used. + Can be 'email', 'emailpro' or 'B_email'. Repeatable. =head1 OPTIONS -- 2.39.5