Bug 21698: Fix POD of cancel_unfilled_holds.pl
authorMagnus Enger <magnus@libriotech.no>
Fri, 26 Oct 2018 20:47:16 +0000 (22:47 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 28 Nov 2018 13:50:24 +0000 (14:50 +0100)
commit1e1449bf185a3eb6e5996f0e48c8ee686072b929
tree9ff5e0dd1a388d73b25f321fa7b0dfdefa07377d
parentfc014eb5be388926cd011eec3debe011a26ce51c
Bug 21698: Fix POD of cancel_unfilled_holds.pl

To test:
- Run "perldoc misc/cronjobs/holds/cancel_unfilled_holds.pl"
- Notice some problems:
-- No description in the NAME section
-- Descriptions of options in the SYNOPSIS section
-- A literal head1
-- Long options are listed with a single leading dash
-- Options --verbose and --confirm are not listed under OPTIONS)
- Take a look at the script itself to see that --verbose and
  --confirm should be listed.
- Also note the typo on line 97: 'v|verbosev' => \$verbose,
- Apply the patch
- Look at the script and perldoc again and check that all problems
  described above are now fixed.

Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit b7b6727f92615bcebf2f037202e6647a34c7705a)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 77969527962b4f8c098b59f50989bbea26831803)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/cronjobs/holds/cancel_unfilled_holds.pl