1
0
Fork 0
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:
Dan Church 2023-09-04 10:08:36 -05:00
parent 41ba29d218
commit 133b271208
Signed by: h3xx
GPG key ID: EA2BF379CD2CDBD0

View file

@ -72,10 +72,8 @@ MAIN: {
my $workdir = $FindBin::RealBin; my $workdir = $FindBin::RealBin;
unless (GetOptions( unless (GetOptions(
'out=s' => \$out, 'out|O=s' => \$out,
'O=s' => \$out, 'block-ip|i=s' => \$block_ip,
'i=s' => \$block_ip,
'block-ip=s' => \$block_ip,
)) { )) {
exit 2; exit 2;
} }