lib/mercenary/command.rb in mercenary-0.3.0 vs lib/mercenary/command.rb in mercenary-0.3.1

- old
+ new

@@ -186,9 +186,10 @@ # # Returns nothing def add_default_options(opts) 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 end