exe/wca_i18n in wca_i18n-0.2.0 vs exe/wca_i18n in wca_i18n-0.3.0

- old
+ new

@@ -1,11 +1,11 @@ #!/usr/bin/env ruby require 'optparse' require 'wca_i18n' -def run! +def main verbose = false OptionParser.new do |opts| opts.banner = "Usage: #{__FILE__} [options] <base_translation_file> <translation_files>" opts.on("-v", "--verbose", "Run verbosely") do |v| verbose = v @@ -61,6 +61,6 @@ def indent(str, level) str.split("\n").map { |line| "\t"*level + line }.join("\n") end -run! if __FILE__ == $0 +main