Ref #153 No error trace when 'No argument supplied'

This commit is contained in:
erwanlr
2013-04-03 18:47:41 +02:00
parent 9b0d2784e1
commit d1cfb8287f

View File

@@ -58,7 +58,9 @@ def main
wpscan_options = WpscanOptions.load_from_arguments
unless wpscan_options.has_options?
raise "No argument supplied\n#{usage()}"
usage()
puts red('No argument supplied')
exit(0)
end
if wpscan_options.help