Bug 11344: Perldoc issues in misc/cronjobs/advance_notices.pl

This patch removes the double ups in the perldoc of the above file,
     deleting the less clear double ups. The missing "-c" in OPTIONS
     appears to have been fixed in an earlier patch (it is there
             already).

Task Plan:
1. Run perldoc misc/cronjobs/advance_notices.pl in the terminal. Note
the double ups of NAME, SYNOPSIS, and DESCRIPTION
2. Apply the patch
3. Run the command again. The double ups should be gone, with the more
clear version of each of NAME, SYNOPSIS, and DESCRIPTION remaining.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
James O'Keeffe 2021-01-19 21:16:49 +00:00 committed by Jonathan Druart
parent c5f3fdcc15
commit 5cb6927458
1 changed files with 3 additions and 19 deletions

View File

@ -19,14 +19,11 @@
=head1 NAME
advance_notices.pl - cron script to put item due reminders into message queue
advance_notices.pl - prepare messages to be sent to patrons for nearly due, or due, items
=head1 SYNOPSIS
./advance_notices.pl -c
or, in crontab:
0 1 * * * advance_notices.pl -c
advance_notices.pl
[ -n ][ -m <number of days> ][ --itemscontent <comma separated field list> ][ -c ]
=head1 DESCRIPTION
@ -62,15 +59,6 @@ use Koha::Items;
use Koha::Libraries;
use Koha::Patrons;
=head1 NAME
advance_notices.pl - prepare messages to be sent to patrons for nearly due, or due, items
=head1 SYNOPSIS
advance_notices.pl
[ -n ][ -m <number of days> ][ --itemscontent <comma separated field list> ][ -c ]
=head1 OPTIONS
=over 8
@ -139,10 +127,6 @@ Defaults to 'item-issuebranch'
=back
=head1 DESCRIPTION
This script is designed to alert patrons when items are due, or coming due
=head2 Configuration
This script pays attention to the advanced notice configuration