mirror of
https://codeberg.org/h3xx/you-dont-need-pihole.git
synced 2024-08-14 20:27:01 +00:00
Combine GetOpt::Long options
This commit is contained in:
parent
41ba29d218
commit
133b271208
1 changed files with 2 additions and 4 deletions
|
@ -72,10 +72,8 @@ MAIN: {
|
|||
my $workdir = $FindBin::RealBin;
|
||||
|
||||
unless (GetOptions(
|
||||
'out=s' => \$out,
|
||||
'O=s' => \$out,
|
||||
'i=s' => \$block_ip,
|
||||
'block-ip=s' => \$block_ip,
|
||||
'out|O=s' => \$out,
|
||||
'block-ip|i=s' => \$block_ip,
|
||||
)) {
|
||||
exit 2;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue