lib/synvert/cli.rb in synvert-0.11.0 vs lib/synvert/cli.rb in synvert-0.11.1
- old
+ new
@@ -111,10 +111,10 @@
'--run SNIPPET_NAMES',
'run specified snippets, each SNIPPET_NAME is combined by group and name, e.g. ruby/new_hash_syntax,ruby/new_lambda_syntax' do |snippet_names|
@options[:snippet_names] = snippet_names.split(',').map(&:strip)
end
opts.on '-v', '--version', 'show this version' do
- puts Core::VERSION
+ puts VERSION
exit
end
end
paths = optparse.parse(args)
Core::Configuration.path = paths.first || Dir.pwd