bin/earthquake in earthquake-0.6.9 vs bin/earthquake in earthquake-0.6.10

- old
+ new

@@ -1,13 +1,15 @@ #!/usr/bin/env ruby require 'slop' -opts = Slop.parse! :help => true do + +argv = ARGV.dup +opts = Slop.parse! argv, :help => true do banner "Usage: earthquake [options] [directory]" on :d, :debug, 'Enable debug mode' end options = opts.to_hash(true) options.delete(:help) -options[:dir] = ARGV.shift unless ARGV.empty? +options[:dir] = argv.shift unless argv.empty? $:.unshift(File.expand_path('../../lib', __FILE__)) if $0 == __FILE__ print "\e[31m" puts %q{ \ No newline at end of file