Skip to content

Commit

Permalink
Fix issues with CLI option not setting exact_url option right
Browse files Browse the repository at this point in the history
  • Loading branch information
hartator committed Jun 12, 2017
1 parent 123c2f3 commit e9ffa6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/wayback_machine_downloader
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down

0 comments on commit e9ffa6c

Please sign in to comment.