Permalink
Browse files

use -o over -b to set bind address

to match rackup behavior
  • Loading branch information...
1 parent f6fc751 commit e51ccff1643d1b5e5a750cb27c229de9de77f70c @sr sr committed Mar 1, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sinatra/main.rb
View
@@ -17,7 +17,7 @@ class Application < Base
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

0 comments on commit e51ccff

Please sign in to comment.