diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/unicorn | 2 | ||||
-rwxr-xr-x | bin/unicorn_rails | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/unicorn b/bin/unicorn index 8847e81..95c15ba 100755 --- a/bin/unicorn +++ b/bin/unicorn @@ -85,6 +85,8 @@ opts = OptionParser.new("", 24, ' ') do |opts| options[:config_file] = File.expand_path(f) end + opts.on("-R", "--rainbows") { options[:rainbows] = true } + # I'm avoiding Unicorn-specific config options on the command-line. # IMNSHO, config options on the command-line are redundant given # config files and make things unnecessarily complicated with multiple diff --git a/bin/unicorn_rails b/bin/unicorn_rails index 1fbc0e2..866833b 100755 --- a/bin/unicorn_rails +++ b/bin/unicorn_rails @@ -83,6 +83,8 @@ opts = OptionParser.new("", 24, ' ') do |opts| ENV['RAILS_RELATIVE_URL_ROOT'] = map_path = v end + opts.on("-R", "--rainbows") { options[:rainbows] = true } + # I'm avoiding Unicorn-specific config options on the command-line. # IMNSHO, config options on the command-line are redundant given # config files and make things unnecessarily complicated with multiple |