From 9ad872dc88236cae539bb02ac0053a50fbf31684 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 20 Oct 2017 16:15:46 -0300 Subject: [PATCH] Bug 16187: accept --verbose and -h Signed-off-by: Jonathan Druart --- misc/cronjobs/holds/cancel_unfilled_holds.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/misc/cronjobs/holds/cancel_unfilled_holds.pl b/misc/cronjobs/holds/cancel_unfilled_holds.pl index 08c2029b66..407bc9cc8e 100755 --- a/misc/cronjobs/holds/cancel_unfilled_holds.pl +++ b/misc/cronjobs/holds/cancel_unfilled_holds.pl @@ -90,12 +90,12 @@ my $verbose = 0; my $confirm = 0; GetOptions( - 'help|?' => \$help, - 'days=s' => \$days, - 'library=s' => \@branchcodes, - 'holidays' => \$use_calendar, - 'v' => \$verbose, - 'confirm' => \$confirm, + 'h|help|?' => \$help, + 'days=s' => \$days, + 'library=s' => \@branchcodes, + 'holidays' => \$use_calendar, + 'v|verbosev' => \$verbose, + 'confirm' => \$confirm, ) or pod2usage(1); pod2usage(1) if $help; -- 2.39.5