lib/mercenary/command.rb in pedrozath-mercenary-0.3.7 vs lib/mercenary/command.rb in pedrozath-mercenary-0.3.8
- old
+ new
@@ -190,9 +190,10 @@
#
# opts - instance of OptionParser
#
# Returns nothing
def add_default_options(opts)
+ return
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}"