lib/mercenary/command.rb in mercenary-0.3.2 vs lib/mercenary/command.rb in mercenary-0.3.3

- old
+ new

@@ -192,10 +192,10 @@ option 'show_help', '-h', '--help', 'Show this message' option 'show_version', '-v', '--version', 'Print the name and version' option 'show_backtrace', '-t', '--trace', 'Show the full backtrace when an error occurs' opts.on("-v", "--version", "Print the version") do puts "#{name} #{version}" - abort + exit(0) end opts.on('-t', '--trace', 'Show full backtrace if an error occurs') do @trace = true end