Ref #153 No error trace when 'No argument supplied'
This commit is contained in:
4
main.rb
4
main.rb
@@ -58,7 +58,9 @@ def main
|
|||||||
wpscan_options = WpscanOptions.load_from_arguments
|
wpscan_options = WpscanOptions.load_from_arguments
|
||||||
|
|
||||||
unless wpscan_options.has_options?
|
unless wpscan_options.has_options?
|
||||||
raise "No argument supplied\n#{usage()}"
|
usage()
|
||||||
|
puts red('No argument supplied')
|
||||||
|
exit(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
if wpscan_options.help
|
if wpscan_options.help
|
||||||
|
|||||||
Reference in New Issue
Block a user