bin/hc in history_commander-0.0.1 vs bin/hc in history_commander-0.0.2
- old
+ new
@@ -7,10 +7,10 @@
require 'rubygems'
require 'history_commander'
require 'trollop'
require 'tmpdir'
-command = ARGV.shift
+command = ARGV[0]
unless ["start", "stop", "configure"].include?(command)
puts "Syntax: hc <command> [args] [--help]"
puts " command can be 'start', 'stop', or 'configure'"
end