aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-05-02 22:32:45 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-05-02 22:32:45 +0000
commit2b0a1f4a219a7553400010c4ff01d24a9e143169 (patch)
treed95090687c9cab2d17c89afc553ff871b8c646d7 /railties/lib
parentd1d8657ea6bfce2f5442608ed0fd0dfcf53f6f6f (diff)
downloadrails-2b0a1f4a219a7553400010c4ff01d24a9e143169.tar.gz
rails-2b0a1f4a219a7553400010c4ff01d24a9e143169.tar.bz2
rails-2b0a1f4a219a7553400010c4ff01d24a9e143169.zip
Added -n/--process to script/process/spawner name the process pid (default is dispatch) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/commands/process/spawner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/process/spawner.rb b/railties/lib/commands/process/spawner.rb
index b730a695ea..76d12dddbf 100644
--- a/railties/lib/commands/process/spawner.rb
+++ b/railties/lib/commands/process/spawner.rb
@@ -95,7 +95,7 @@ ARGV.options do |opts|
opts.on("-i", "--instances=number", Integer, "Number of instances (default: #{OPTIONS[:instances]})") { |OPTIONS[:instances]| }
opts.on("-r", "--repeat=seconds", Integer, "Repeat spawn attempts every n seconds (default: off)") { |OPTIONS[:repeat]| }
opts.on("-e", "--environment=name", String, "test|development|production (default: #{OPTIONS[:environment]})") { |OPTIONS[:environment]| }
- opts.on("-n", "--process=name", String, "default: #{OPTIONS[:process]})") { |OPTIONS[:process]| }
+ opts.on("-n", "--process=name", String, "default: #{OPTIONS[:process]}") { |OPTIONS[:process]| }
opts.on("-s", "--spawner=path", String, "default: #{OPTIONS[:spawner]}") { |OPTIONS[:spawner]| }
opts.on("-d", "--dispatcher=path", String, "default: #{OPTIONS[:dispatcher]}") { |dispatcher| OPTIONS[:dispatcher] = File.expand_path(dispatcher) }