Skip to content

Commit 3da22d2

Browse files
committed
Add -t/--trace to list of default options for the help message
Ref: #19
1 parent aa3f392 commit 3da22d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mercenary/command.rb

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ def process_options(opts, config)
188188
def add_default_options(opts)
189189
option 'show_help', '-h', '--help', 'Show this message'
190190
option 'show_version', '-v', '--version', 'Print the name and version'
191+
option 'show_backtrace', '-t', '--trace', 'Show the full backtrace when an error occurs'
191192
opts.on("-v", "--version", "Print the version") do
192193
puts "#{name} #{version}"
193194
abort

0 commit comments

Comments
 (0)