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)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 31 Oct 2018 13:49:19 +0000 (13:49 +0000)
commitb7b6727f92615bcebf2f037202e6647a34c7705a
treed56fca430ddaef58543d9491ddefabf72cf3d332
parent77ea4686395f88c9678c611a78e6db4fd4c04101
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>
misc/cronjobs/holds/cancel_unfilled_holds.pl