lib/synvert/cli.rb in synvert-1.4.0 vs lib/synvert/cli.rb in synvert-1.4.1

- old
+ new

@@ -126,10 +126,10 @@ end opts.on '--double-quote', 'prefer double quote, it uses single quote by default' do |double_quote| Core::Configuration.single_quote = false end opts.on '--tab-width TAB_WIDTH', 'prefer tab width, it uses 2 by default' do |tab_width| - Core::Configuration.tab_width = tab_width + Core::Configuration.tab_width = tab_width.to_i end opts.on '-v', '--version', 'show this version' do puts "#{VERSION} (with synvert-core #{Core::VERSION} and parser #{Parser::VERSION})" exit end