bin/earthquake in earthquake-0.8.3 vs bin/earthquake in earthquake-0.8.4

- old
+ new

@@ -4,18 +4,18 @@ argv = ARGV.dup slop = Slop.new(:strict => true, :help => true) slop.banner "Usage: earthquake [options] [directory]" slop.on :d, :debug, 'Enable debug mode' slop.on :n, :'no-logo', 'No Logo' -slop.on :c, :command, "Invoke an command and exit", true +slop.on :c, :command, "Invoke a command and exit", true slop.on :l, :lolize, 'enable lolize (see: https://github.com/miaout17/lolize)' begin slop.parse!(argv) rescue => e puts e exit! end -options = slop.to_hash(true) +options = slop.to_hash options.delete(:help) options[:dir] = argv.shift unless argv.empty? require 'pathname' eq_dir = Pathname.new(__FILE__).realpath.parent.parent