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