Skip to content

Commit

Permalink
Simplify printing the adapters in Runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtodd committed Jul 1, 2008
1 parent 1537b44 commit c0324bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thin/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parser
opts.on("-S", "--socket FILE", "bind to unix domain socket") { |file| @options[:socket] = file }
opts.on("-y", "--swiftiply [KEY]", "Run using swiftiply") { |key| @options[:swiftiply] = key }
opts.on("-A", "--adapter NAME", "Rack adapter to use (default: autodetect)",
"(#{Rack::ADAPTERS.map{|a|a.first}.join(', ')})") { |name| @options[:adapter] = name }
"(#{Rack::ADAPTERS.map{|(a,b)|a}.join(', ')})") { |name| @options[:adapter] = name }
opts.on("-R", "--rackup FILE", "Load a Rack config file instead of " +
"Rack adapter") { |file| @options[:rackup] = file }
opts.on("-c", "--chdir DIR", "Change to dir before starting") { |dir| @options[:chdir] = File.expand_path(dir) }
Expand Down

0 comments on commit c0324bf

Please sign in to comment.