bin/rawler in rawler-0.1.5 vs bin/rawler in rawler-0.1.6
- old
+ new
@@ -15,10 +15,11 @@
EOS
opt :username, "HTT Basic Username", :type => :string
opt :password, "HTT Basic Password", :type => :string
opt :wait, "Seconds to wait between requests, may be fractional e.g. '1.5'", :type => :float, :default => 3.0
- opt :log, "Log results to file rawler_log.txt", :type => :boolean, :default => false
+ opt :log, "Log results to file #{Rawler::Base::DEFAULT_LOGFILE}", :type => :boolean, :default => false
+ opt :logfile, "Specify logfile, implies --log", :type => :string, :default => Rawler::Base::DEFAULT_LOGFILE
opt :css, "Check CSS links", :type => :boolean, :default => false
end
domain = ARGV.shift