Reorder in a more logic sense CLI options

This commit is contained in:
hartator 2016-09-17 12:48:49 -05:00
parent f3729d6378
commit 45c393a106

View File

@ -38,14 +38,14 @@ option_parser = OptionParser.new do |opts|
options[:all] = true
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|
options[:threads_count] = 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
end
opts.on("-v", "--version", "Display version") do |t|
options[:version] = t
end