mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Fix issues with CLI option not setting exact_url option right
This commit is contained in:
parent
123c2f3024
commit
e9ffa6cf0d
@ -26,8 +26,8 @@ option_parser = OptionParser.new do |opts|
|
||||
options[:to_timestamp] = t
|
||||
end
|
||||
|
||||
opts.on("-e", "--exact_url", String, "Download only the url provied and not the full site") do |t|
|
||||
options[:only_filter] = t
|
||||
opts.on("-e", "--exact-url", "Download only the url provied and not the full site") do |t|
|
||||
options[:exact_url] = t
|
||||
end
|
||||
|
||||
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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user