bin/ridgepole in ridgepole-0.4.3 vs bin/ridgepole in ridgepole-0.4.4
- old
+ new
@@ -78,9 +78,15 @@
opt.on('', '--ignore-tables TABLES', Array) {|v| options[:ignore_tables] = v.map {|i| Regexp.new(i) } }
opt.on('', '--disable-mysql-unsigned') { options[:disable_mysql_unsigned] = true }
opt.on('' , '--log-file LOG_FILE') {|v| options[:log_file] = v }
opt.on('' , '--verbose') { Ridgepole::Logger.verbose = true }
opt.on('' , '--debug') { options[:debug] = true }
+
+ opt.on('-v', '--version') {
+ puts opt.ver
+ exit
+ }
+
opt.parse!
if not mode or ([:apply, :export].include?(mode) and not config) or (options[:with_apply] and not config)
puts opt.help
exit 1