bin/wyrm in wyrm-0.4.0 vs bin/wyrm in wyrm-0.4.1

- old
+ new

@@ -1,19 +1,25 @@ #! /usr/bin/env ruby require 'uri' if ARGV.size != 2 + require 'wyrm/version' + puts <<EOF + +wyrm-#{Wyrm::VERSION} + Usage: #{$0} src_db|dirname dst_db|dirname dirname contains a set of wyrm files, or will soon. sample db strings: postgres://localhost/lotsa_datsa mysql://root:pwned@localhost/lotsa_datsa mysql2://root:pwned@localhost/lotsa_fastsa_datsa + EOF exit(1) end module FsPath @@ -23,10 +29,10 @@ end src, dst = ARGV.map{|arg| URI.parse(arg).extend(FsPath)} require 'wyrm/cli' -Wyrm.sanity_check_pbzip2 +Wyrm.sanity_check_dcmp include Wyrm case when src.fs_path? && dst.fs_path?