Skip to content

Commit

Permalink
use ruby 1.8 hash, so the file parses in 1.8. rename usage to koi
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Mar 9, 2010
1 parent 1213c9a commit 817dc73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/koi
Expand Up @@ -11,16 +11,16 @@ require 'koi'

args = ARGV.dup

options = {verbose: false, silent: false}
options = {:verbose => false, :silent => false}

OptionParser.new do |o|
o.banner = "usage: it COMMAND [ARGS]"
o.banner = "usage: koi COMMAND [ARGS]"
o.separator ""

o.on_tail("-s", "--silent", "turn output off") do
options[:silent] = true
end

o.on_tail("-v", "--verbose", "enable verbose mode") do
options[:verbose] = true
end
Expand Down

0 comments on commit 817dc73

Please sign in to comment.