mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 01:42:37 +00:00
adjust_apache.pl: fixes GetOpt arguments to behave better under F24 and earlier
Signed-off-by: Jed Reynolds <jed@candelatech.com>
This commit is contained in:
@@ -35,9 +35,9 @@ my $usage = "$0 :
|
||||
|
||||
";
|
||||
GetOptions(
|
||||
"-h|--help" => \$do_help,
|
||||
"-d|--debug" => \$debug,
|
||||
"-a|--auto|--automatic" => \$do_automatic,
|
||||
"h|help" => \$do_help,
|
||||
"d|debug" => \$debug,
|
||||
"a|auto|automatic" => \$do_automatic,
|
||||
) || die($usage);
|
||||
|
||||
if ($do_help) {
|
||||
|
||||
Reference in New Issue
Block a user