lib/mysql2xxxx/cli.rb in mysql2xxxx-0.0.4 vs lib/mysql2xxxx/cli.rb in mysql2xxxx-0.1.0

- old
+ new

@@ -1,10 +1,10 @@ require 'mixlib/cli' module Mysql2xxxx class Cli include ::Mixlib::CLI - %w{ user password host Port database }.each do |o| + %w{ user password host Port database charset encoding }.each do |o| option o.downcase.to_sym, :short => "-#{o[0,1]} #{o.upcase}", :long => "--#{o.downcase}=#{o.upcase}", :description => "Set MySQL #{o.downcase}" end