lib/synvert/cli.rb in synvert-1.5.1 vs lib/synvert/cli.rb in synvert-1.6.0

- old
+ new

@@ -141,9 +141,12 @@ 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.to_i end + opts.on '--loose', 'loose mode, it ignores ruby version and gem version check, it uses strict mode by default' do |_loose| + Core::Configuration.strict = false + end opts.on '-v', '--version', 'show this version' do puts "#{VERSION} (with synvert-core #{Core::VERSION} and parser #{Parser::VERSION})" exit end end