mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +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(
|
GetOptions(
|
||||||
"-h|--help" => \$do_help,
|
"h|help" => \$do_help,
|
||||||
"-d|--debug" => \$debug,
|
"d|debug" => \$debug,
|
||||||
"-a|--auto|--automatic" => \$do_automatic,
|
"a|auto|automatic" => \$do_automatic,
|
||||||
) || die($usage);
|
) || die($usage);
|
||||||
|
|
||||||
if ($do_help) {
|
if ($do_help) {
|
||||||
|
|||||||
Reference in New Issue
Block a user