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:
parent
256970e048
commit
bc95438acc
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Reference in a new issue