update README/CHANGES re. -o
This commit is contained in:
parent
e51ccff164
commit
4d61607176
2
CHANGES
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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue