Doc for -h option

This commit is contained in:
Simon Rozet 2009-12-23 03:12:53 +01:00
parent cb8fcb6350
commit 2624423bdf
1 changed files with 2 additions and 1 deletions

View File

@ -573,12 +573,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] [-s HANDLER]
ruby myapp.rb [-h] [-x] [-e ENVIRONMENT] [-p PORT] [-h HOST] [-s HANDLER]
Options are:
-h # help
-p # set the port (default is 4567)
-h # 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)