mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Reorder in a more logic sense CLI options
This commit is contained in:
parent
f3729d6378
commit
45c393a106
@ -38,14 +38,14 @@ option_parser = OptionParser.new do |opts|
|
|||||||
options[:all] = true
|
options[:all] = true
|
||||||
end
|
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
|
|
||||||
end
|
|
||||||
|
|
||||||
opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time. Default is one file at a time. (ie. 20)") do |t|
|
opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time. Default is one file at a time. (ie. 20)") do |t|
|
||||||
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|
|
||||||
|
options[:list] = true
|
||||||
|
end
|
||||||
|
|
||||||
opts.on("-v", "--version", "Display version") do |t|
|
opts.on("-v", "--version", "Display version") do |t|
|
||||||
options[:version] = t
|
options[:version] = t
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user