aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/process
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-08-24 17:30:00 +0000
committerJamis Buck <jamis@37signals.com>2005-08-24 17:30:00 +0000
commitb4a5b27bf6e4207cf8a06c9517786367f71cbe27 (patch)
tree8a3de35f614d1cb57f3495bacef3fe5eb9d971b4 /railties/bin/process
parent7d65f7cd3dbcf9a3986f0f05b692e83de6515390 (diff)
downloadrails-b4a5b27bf6e4207cf8a06c9517786367f71cbe27.tar.gz
rails-b4a5b27bf6e4207cf8a06c9517786367f71cbe27.tar.bz2
rails-b4a5b27bf6e4207cf8a06c9517786367f71cbe27.zip
Allow the --toggle-spin switch on process/reaper to be negated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/bin/process')
-rwxr-xr-xrailties/bin/process/reaper2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/process/reaper b/railties/bin/process/reaper
index 409d3b3c50..819cd0d4d9 100755
--- a/railties/bin/process/reaper
+++ b/railties/bin/process/reaper
@@ -114,7 +114,7 @@ ARGV.options do |opts|
opts.on("-a", "--action=name", "reload|graceful|kill (default: #{OPTIONS[:action]})", String) { |OPTIONS[:action]| }
opts.on("-d", "--dispatcher=path", "default: #{OPTIONS[:dispatcher]}", String) { |OPTIONS[:dispatcher]| }
opts.on("-s", "--spinner=path", "default: #{OPTIONS[:spinner]}", String) { |OPTIONS[:spinner]| }
- opts.on("-t", "--toggle-spin", "Whether to send a USR1 to the spinner before and after the reaping (default: true)") { |OPTIONS[:toggle_spin]| }
+ opts.on("-t", "--[no-]toggle-spin", "Whether to send a USR1 to the spinner before and after the reaping (default: true)") { |OPTIONS[:toggle_spin]| }
opts.on("-n", "--nudge=url", "Should point to URL that's handled by the FCGI process", String) { |OPTIONS[:nudge]| }
opts.on("-i", "--iterations=number", "One nudge per FCGI process running (default: #{OPTIONS[:iterations]})", Integer) { |OPTIONS[:iterations]| }