Fixes Issue #453
-) Fixed options -) Fixed "unrecognized method 'verbose' for nil:NilClass when supplying an unknown option
This commit is contained in:
@@ -252,10 +252,10 @@ class WpscanOptions
|
||||
['--basic-auth', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--debug-output', GetoptLong::NO_ARGUMENT],
|
||||
['--version', GetoptLong::NO_ARGUMENT],
|
||||
['--cache_ttl', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--request_timeout', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--connect_timeout', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--max_threads', GetoptLong::REQUIRED_ARGUMENT]
|
||||
['--cache-ttl', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--request-timeout', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--connect-timeout', GetoptLong::REQUIRED_ARGUMENT],
|
||||
['--max-threads', GetoptLong::REQUIRED_ARGUMENT]
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user