mirror of
https://git.proxmox.com/git/proxmox-i18n
synced 2025-10-04 09:48:12 +00:00
js generator: replace obsoleted Getopt::Std with Getopt::Long
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6ad9f0ce25
commit
3bee6f0e77
@ -4,14 +4,12 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
use Encode;
|
||||
use Getopt::Std;
|
||||
use Getopt::Long;
|
||||
use Locale::PO;
|
||||
use Time::Local;
|
||||
|
||||
my $options = {};
|
||||
|
||||
getopts('o:b:p:', $options) ||
|
||||
die "unable to parse options\n";
|
||||
GetOptions($options, 'o=s', 'b=s', 'p=s') or die "unable to parse options\n";
|
||||
|
||||
my $dirs = [@ARGV];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user