lib/teabag/command_line.rb in teabag-0.5.4 vs lib/teabag/command_line.rb in teabag-0.5.5
- old
+ new
@@ -38,9 +38,13 @@
parser.on("--server-timeout SECONDS", "Sets the timeout for the server to start.") do |seconds|
@options[:server_timeout] = seconds
end
+ parser.on("--server-port PORT", "Sets the server to use a specific port.") do |port|
+ @options[:server_port] = port
+ end
+
parser.on("--[no-]fail-fast", "Abort after the first failing suite.") do |o|
@options[:fail_fast] = o
end
parser.separator("\n **** Filtering ****\n\n")