diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-24 13:33:19 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-24 13:33:19 -0700 |
commit | 5a87a2630ec15ab8e730a2bf3bf03c6fd84ff4a2 (patch) | |
tree | c88c3b127153b7c2ec9cb0933b8d0eee7d32bd1e /bin | |
parent | dbf7eb6748d5b7ea8d2f309748756ffc336ba484 (diff) | |
download | unicorn-5a87a2630ec15ab8e730a2bf3bf03c6fd84ff4a2.tar.gz |
This matches the manpage and the rest of the documentation.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/unicorn_rails | 4 |
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 |