Broken code fixed
This commit is contained in:
parent
30b7f2e52c
commit
84d108bc70
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ my %opt = (
|
||||||
"buffers" => 0,
|
"buffers" => 0,
|
||||||
"passwordfile" => 0,
|
"passwordfile" => 0,
|
||||||
"bannedports" => '',
|
"bannedports" => '',
|
||||||
"maxportallowed"= >0,
|
"maxportallowed"=> 0,
|
||||||
"outputfile" => 0,
|
"outputfile" => 0,
|
||||||
"dbstat" => 0,
|
"dbstat" => 0,
|
||||||
"idxstat" => 0,
|
"idxstat" => 0,
|
||||||
|
@ -94,7 +94,7 @@ GetOptions(
|
||||||
'mysqlcmd=s', 'help', 'buffers', 'skippassword',
|
'mysqlcmd=s', 'help', 'buffers', 'skippassword',
|
||||||
'passwordfile=s', 'outputfile=s', 'silent', 'dbstat', 'json',
|
'passwordfile=s', 'outputfile=s', 'silent', 'dbstat', 'json',
|
||||||
'idxstat', 'noask', 'template=s', 'reportfile=s', 'cvefile=s',
|
'idxstat', 'noask', 'template=s', 'reportfile=s', 'cvefile=s',
|
||||||
'bannedports=s','maxportallowed=s'
|
'bannedports=s','maxportallowed=s',
|
||||||
);
|
);
|
||||||
|
|
||||||
if ( defined $opt{'help'} && $opt{'help'} == 1 ) { usage(); }
|
if ( defined $opt{'help'} && $opt{'help'} == 1 ) { usage(); }
|
||||||
|
|
Loading…
Reference in a new issue