bin/translate in google-translate-0.7.0 vs bin/translate in google-translate-0.7.1
- old
+ new
@@ -41,10 +41,10 @@
end
case ARGV.shift
when /(-v)|(--version)/ then
- p "Version: #{File.open(File::dirname(__FILE__) + "/../VERSION").readlines()}"
+ puts "Version: #{File.open(File::dirname(__FILE__) + "/../VERSION").readlines().first}"
when 'list' then
hash = @translator.supported_languages
print_languages hash[:from_languages], "From Languages:"
print_languages hash[:to_languages], "To Languages:"