lib/commands/scan.rb in yawast-0.7.0 vs lib/commands/scan.rb in yawast-0.7.1
- old
+ new
@@ -2,12 +2,14 @@
module Yawast
module Commands
class Scan
def self.process(args, options)
- uri = Yawast::Commands::Utils.extract_uri(args)
+ args.each do |arg|
+ uri = Yawast::Commands::Utils.extract_uri([arg])
- Yawast::Scanner::Core.process(uri, options)
+ Yawast::Scanner::Core.process(uri, options)
+ end
end
end
end
end