Bug 16187: accept --verbose and -h
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
629598704a
commit
9ad872dc88
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue