diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-03-09 16:45:55 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-03-09 16:45:55 -0700 |
commit | ac6ace3a978b4074b6af6de982e2b6543b7f42cb (patch) | |
tree | 01d8e53bc2f1abe1b5ceb236ce0e8216bf08b25c | |
parent | 32a5a5e91bd78795f546e2a8b8b775f1e1989ed9 (diff) | |
download | unicorn-ac6ace3a978b4074b6af6de982e2b6543b7f42cb.tar.gz |
This allows config.ru files to be shared by rackup and unicorn without errors.
-rwxr-xr-x | bin/unicorn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/unicorn b/bin/unicorn index a13facc..ebf57c3 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -67,6 +67,11 @@ opts = OptionParser.new("", 24, ' ') do |opts| options[:pid] = File.expand_path(f) end + opts.on("-s", "--server SERVER", + "this flag only exists for compatibility") do |s| + warn "-s/--server only exists for compatibility with rackup" + end + # Unicorn-specific stuff opts.on("-l", "--listen {HOST:PORT|PATH}", "listen on HOST:PORT or PATH", |