bin/translate in google-translate-1.0.0 vs bin/translate in google-translate-1.0.1

- old
+ new

@@ -2,22 +2,20 @@ $:.unshift(File::join(File::dirname(File::dirname(__FILE__)), "lib")) require 'google_translate/translate_cli' -index = 0 - if ARGV.size == 0 puts TranslateCLI::USAGE elsif ARGV.size == 1 if ARGV[0] == 'version' or ARGV[0] == '--version' or ARGV[0] == '-v' TranslateCLI.start ["version"] elsif ARGV[0] == 'list' TranslateCLI.start ["list"] end else params = [] - say = false + say = ENV['say'] ? (ENV['say'] == 'true') : false index = 0 while index < ARGV.size do param = ARGV[index]