Bug 16187: accept --verbose and -h

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2017-10-20 16:15:46 -03:00
parent 629598704a
commit 9ad872dc88

View file

@ -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;