lib/trinidad/command_line_parser.rb in trinidad-0.9.9 vs lib/trinidad/command_line_parser.rb in trinidad-0.9.10
- old
+ new
@@ -113,9 +113,13 @@
opts.on('--address', '--address ADDRESS', 'Trinidad host address', 'default: localhost') do |v|
default_options[:address] = v
end
+ opts.on('-g', '--log LEVEL', 'Log level', 'default: INFO') do |v|
+ default_options[:log] = v
+ end
+
opts.on('-v', '--version', 'display the current version') do
puts "trinidad #{Trinidad::VERSION} (tomcat #{Trinidad::TOMCAT_VERSION})"
exit
end