Bug 21698

Summary: FIX POD of cancel_unfilled_holds.pl
Product: Koha Reporter: Magnus Enger <magnus>
Component: Command-line UtilitiesAssignee: Magnus Enger <magnus>
Status: CLOSED FIXED QA Contact: Josef Moravec <josef.moravec>
Severity: minor    
Priority: P5 - low CC: fridolin.somers, josef.moravec, martin.renvoize, nick, robin
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 21698 - FIX POD of cancel_unfilled_holds.pl
Bug 21698 - FIX POD of cancel_unfilled_holds.pl
Bug 21698: Fix POD of cancel_unfilled_holds.pl
Bug 21698: (QA follow-up) Fix typo verbosev -> verbose

Description Magnus Enger 2018-10-26 19:59:31 UTC
- Description of some options in the SYNOPSIS section
- Missing options
- Use of a single dash for long options
Comment 1 Magnus Enger 2018-10-26 20:56:24 UTC
Created attachment 81340 [details] [review]
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.
Comment 2 Andrew Isherwood 2018-10-29 13:47:03 UTC
Created attachment 81499 [details] [review]
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>
Comment 3 Josef Moravec 2018-10-29 19:59:54 UTC
Created attachment 81534 [details] [review]
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>
Comment 4 Josef Moravec 2018-10-29 20:00:00 UTC
Created attachment 81535 [details] [review]
Bug 21698: (QA follow-up) Fix typo verbosev -> verbose

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 5 Nick Clemens (kidclamp) 2018-10-31 15:05:31 UTC
Awesome work all!

Pushed to master for 18.11
Comment 6 Martin Renvoize (ashimema) 2018-11-09 16:07:54 UTC
Pushed to 18.05.x for 18.05.06 - I always like POD improvements.
Comment 7 Fridolin Somers 2018-11-28 13:50:58 UTC
Pushed to 17.11.x for 17.11.13
Comment 8 Josef Moravec 2019-01-30 11:48:42 UTC Comment hidden (obsolete)