use -o over -b to set bind address

to match rackup behavior
This commit is contained in:
Simon Rozet 2010-03-01 15:56:21 -08:00
parent f6fc751c70
commit e51ccff164
1 changed files with 1 additions and 1 deletions

View File

@ -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