1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Add to binds rather than set it

This commit is contained in:
Evan Phoenix 2012-02-22 10:19:03 -08:00
parent 256970e048
commit bc95438acc

View file

@ -123,7 +123,7 @@ module Puma
o.on "-p", "--port PORT", "Define what port TCP port to bind to",
"Use -b for more advanced options" do |arg|
@options[:binds] = "tcp://#{Configuration::DefaultTCPHost}:#{arg}"
@options[:binds] << "tcp://#{Configuration::DefaultTCPHost}:#{arg}"
end
o.on "--pidfile PATH", "Use PATH as a pidfile" do |arg|