From 5a87a2630ec15ab8e730a2bf3bf03c6fd84ff4a2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Sep 2009 13:33:19 -0700 Subject: unicorn_rails: show "RAILS_ENV" in help message This matches the manpage and the rest of the documentation. --- bin/unicorn_rails | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/unicorn_rails b/bin/unicorn_rails index e1df3ce..ab0cfa3 100755 --- a/bin/unicorn_rails +++ b/bin/unicorn_rails @@ -58,8 +58,8 @@ opts = OptionParser.new("", 24, ' ') do |opts| set_listener = true end - opts.on("-E", "--env ENVIRONMENT", - "use ENVIRONMENT for defaults (default: development)") do |e| + opts.on("-E", "--env RAILS_ENV", + "use RAILS_ENV for defaults (default: development)") do |e| ENV['RAILS_ENV'] = e end -- cgit v1.2.3-24-ge0c7