Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update README/CHANGES re. -o

  • Loading branch information...
commit 4d616071766ddb283ddde3e140e14312df0b8c46 1 parent e51ccff
@sr sr authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  CHANGES
  2. +2 −2 README.rdoc
View
2  CHANGES
@@ -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
4 README.rdoc
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.