lib/trinidad/command_line_parser.rb in trinidad-0.9.6 vs lib/trinidad/command_line_parser.rb in trinidad-0.9.7
- old
+ new
@@ -109,9 +109,13 @@
opts.on('-t', '--threadsafe', 'Threadsafe mode') do
default_options[:jruby_min_runtimes] = 1
default_options[:jruby_max_runtimes] = 1
end
+ opts.on('--address', '--address ADDRESS', 'Trinidad host address', 'default: localhost') do |v|
+ default_options[:address] = v
+ end
+
opts.on('-v', '--version', 'display the current version') do
puts "trinidad #{Trinidad::VERSION} (tomcat #{Trinidad::TOMCAT_VERSION})"
exit
end