Doc for -h option
This commit is contained in:
parent
cb8fcb6350
commit
2624423bdf
|
@ -573,12 +573,13 @@ being {included into the main namespace}[http://github.com/sinatra/sinatra/blob/
|
||||||
|
|
||||||
Sinatra applications can be run directly:
|
Sinatra applications can be run directly:
|
||||||
|
|
||||||
ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-s HANDLER]
|
ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-h HOST] [-s HANDLER]
|
||||||
|
|
||||||
Options are:
|
Options are:
|
||||||
|
|
||||||
-h # help
|
-h # help
|
||||||
-p # set the port (default is 4567)
|
-p # set the port (default is 4567)
|
||||||
|
-h # set the host (default is 0.0.0.0)
|
||||||
-e # set the environment (default is development)
|
-e # set the environment (default is development)
|
||||||
-s # specify rack server/handler (default is thin)
|
-s # specify rack server/handler (default is thin)
|
||||||
-x # turn on the mutex lock (default is off)
|
-x # turn on the mutex lock (default is off)
|
||||||
|
|
Loading…
Reference in New Issue