Permalink
Browse files

update README/CHANGES re. -o

  • Loading branch information...
1 parent e51ccff commit 4d616071766ddb283ddde3e140e14312df0b8c46 @sr sr committed Mar 1, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 CHANGES
  2. +2 −2 README.rdoc
View
@@ -33,7 +33,7 @@
* New request.secure? method for checking for an SSL connection.
(Adam Wiggins)
- * Sinatra apps can now be run with a `-h <addr>` argument to specify
+ * Sinatra apps can now be run with a `-o <addr>` argument to specify
the address to bind to. (Ryan Tomayko)
* Rack::Session::Cookie is now added to the middleware pipeline when
View
@@ -572,13 +572,13 @@ being {included into the main namespace}[http://github.com/sinatra/sinatra/blob/
Sinatra applications can be run directly:
- ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-h HOST] [-s HANDLER]
+ ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-o HOST] [-s HANDLER]
Options are:
-h # help
-p # set the port (default is 4567)
- -h # set the host (default is 0.0.0.0)
+ -o # set the host (default is 0.0.0.0)
-e # set the environment (default is development)
-s # specify rack server/handler (default is thin)
-x # turn on the mutex lock (default is off)

0 comments on commit 4d61607

Please sign in to comment.