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

- old
+ new

@@ -125,9 +125,12 @@ Core::Configuration.number_of_workers = number_of_workers.to_i 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 + end opts.on '-v', '--version', 'show this version' do puts "#{VERSION} (with synvert-core #{Core::VERSION} and parser #{Parser::VERSION})" exit end end