--- option.rb 2015-11-14 12:43:28.000000000 +0900 +++ option_patch.rb 2015-11-14 12:45:11.000000000 +0900 @@ -40,6 +40,12 @@ puts "delete "+File.expand_path(Environment::CACHE) FileUtils.rm_rf(File.expand_path(Environment::CACHE)) exit } + opt.on('-v', '--version', "Show mikutter version"){ |v| + require 'fileutils' + require File.expand_path(File.join(File.dirname(__FILE__), "..", 'utils')) + miquire :core, 'environment' + puts Environment::NAME + ' ' + Environment::VERSION.to_s + exit } opt.on('-h', '--help', "Show this message"){ puts opt puts "command are:"