mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Left align correctly multiline help description text
This commit is contained in:
parent
e95ade8079
commit
7953bb5b1d
@ -14,7 +14,7 @@ option_parser = OptionParser.new do |opts|
|
|||||||
opts.separator ""
|
opts.separator ""
|
||||||
opts.separator "Optional options:"
|
opts.separator "Optional options:"
|
||||||
|
|
||||||
opts.on("-d", "--directory PATH", String, "Directory to save the downloaded files into\n\t\t\t\t Default is ./websites/ plus the domain name") do |t|
|
opts.on("-d", "--directory PATH", String, "Directory to save the downloaded files into", "Default is ./websites/ plus the domain name") do |t|
|
||||||
options[:directory] = t
|
options[:directory] = t
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -26,11 +26,11 @@ option_parser = OptionParser.new do |opts|
|
|||||||
options[:to_timestamp] = t
|
options[:to_timestamp] = t
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on("-o", "--only ONLY_FILTER", String, "Restrict downloading to urls that match this filter\n\t\t\t\t (use // notation for the filter to be treated as a regex)") do |t|
|
opts.on("-o", "--only ONLY_FILTER", String, "Restrict downloading to urls that match this filter", "(use // notation for the filter to be treated as a regex)") do |t|
|
||||||
options[:only_filter] = t
|
options[:only_filter] = t
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on("-x", "--exclude EXCLUDE_FILTER", String, "Skip downloading of urls that match this filter\n\t\t\t\t (use // notation for the filter to be treated as a regex)") do |t|
|
opts.on("-x", "--exclude EXCLUDE_FILTER", String, "Skip downloading of urls that match this filter", "(use // notation for the filter to be treated as a regex)") do |t|
|
||||||
options[:exclude_filter] = t
|
options[:exclude_filter] = t
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -38,11 +38,11 @@ option_parser = OptionParser.new do |opts|
|
|||||||
options[:all] = true
|
options[:all] = true
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time\n\t\t\t\t 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("-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|
|
opts.on("-p", "--maximum-snapshot NUMBER", Integer, "Maximum snapshot pages to consider (Default is 100)", "Count an average of 150,000 snapshots per page ") do |t|
|
||||||
options[:maximum_pages] = t
|
options[:maximum_pages] = t
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user