]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commit
Added GetOpt option parsing.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 29 Oct 2009 14:47:47 +0000 (10:47 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 29 Oct 2009 14:47:47 +0000 (10:47 -0400)
commit9a5310260a276a57c084d07de2bb97d78ce2a8ff
tree34e37976a1a065ab8e1a32d0ce55c00baa6401f1
parent6e9cec676f28db2fe9fd5872bc0ec7ebb954f5f6
Added GetOpt option parsing.
Take a '--continue' option, passed on to the downloader, which determines whether or not we attempt to continue a previous download.
Modified the downloaders to throw an IOError if the output file already exists and we're not continuing a previous download.
Print the external command used to execute Wget.
bin/whatever-dl
src/downloader.rb
src/open_uri_downloader.rb
src/wget_downloader.rb