use -o over -b to set bind address
to match rackup behavior
This commit is contained in:
parent
f6fc751c70
commit
e51ccff164
|
@ -17,7 +17,7 @@ module Sinatra
|
|||
op.on('-e env') { |val| set :environment, val.to_sym }
|
||||
op.on('-s server') { |val| set :server, val }
|
||||
op.on('-p port') { |val| set :port, val.to_i }
|
||||
op.on('-b addr') { |val| set :bind, val }
|
||||
op.on('-o addr') { |val| set :bind, val }
|
||||
}.parse!(ARGV.dup)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue