1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Note that 'rails server' allows specifying mongrel, thin, etc [#4845 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Trevor Turk 2010-06-22 11:42:35 -05:00 committed by José Valim
parent d0df7f1196
commit 64987d6711

View file

@ -9,7 +9,7 @@ module Rails
args, options = args.dup, {}
opt_parser = OptionParser.new do |opts|
opts.banner = "Usage: rails server [options]"
opts.banner = "Usage: rails server [mongrel, thin, etc] [options]"
opts.on("-p", "--port=port", Integer,
"Runs Rails on the specified port.", "Default: 3000") { |v| options[:Port] = v }
opts.on("-b", "--binding=ip", String,