exe/ginny in ginny-0.6.0 vs exe/ginny in ginny-0.6.1

- old
+ new

@@ -4,15 +4,15 @@ require "optparse" options = {} optparse = OptionParser.new do |opts| opts.banner = "Usage: ginny [options] [path]" - options[:verbose] = false - opts.on("-v", "--verbose", "Output more information") do - options[:verbose] = true - end opts.on("-h", "--help", "Display this screen") do puts(opts) + exit(0) + end + opts.on("-v", "--version", "Display version information") do + puts("Ginny version #{Ginny::VERSION}") exit(0) end end optparse.parse!