Add option to set the maximum number of snapshot pages to consider

This commit is contained in:
hartator 2016-09-23 18:19:37 -07:00
parent d37c56e7dc
commit ec6aa17a07

View File

@ -42,7 +42,11 @@ option_parser = OptionParser.new do |opts|
options[:threads_count] = t options[:threads_count] = t
end end
opts.on("-l", "--list", "Only list file urls in a JSON format with the archived timestamps. Won't download anything.") do |t| opts.on("-p", "--maximum-snapshot NUMBER", Integer, "Maximum snapshot pages to consider (Default is 100)\n\t\t\t\t Count an average of 150,000 snapshots per page ") do |t|
options[:maximum_pages] = t
end
opts.on("-l", "--list", "Only list file urls in a JSON format with the archived timestamps, won't download anything.") do |t|
options[:list] = true options[:list] = true
end end