about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-24 13:33:19 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-24 13:33:19 -0700
commit5a87a2630ec15ab8e730a2bf3bf03c6fd84ff4a2 (patch)
treec88c3b127153b7c2ec9cb0933b8d0eee7d32bd1e
parentdbf7eb6748d5b7ea8d2f309748756ffc336ba484 (diff)
downloadunicorn-5a87a2630ec15ab8e730a2bf3bf03c6fd84ff4a2.tar.gz
This matches the manpage and the rest of the documentation.
-rwxr-xr-xbin/unicorn_rails4
1 files 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