aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2006-08-07 06:42:24 +0000
committerMarcel Molina <marcel@vernix.org>2006-08-07 06:42:24 +0000
commitd63f6b9bdda2c20a9353ba5ab741396fbfa4ee3e (patch)
treefcd5439a0ad4f4b939c6469a3941a5c72825c3db /railties
parentc469e4653d104de9e941bb1369d772b6c01ca115 (diff)
downloadrails-d63f6b9bdda2c20a9353ba5ab741396fbfa4ee3e.tar.gz
rails-d63f6b9bdda2c20a9353ba5ab741396fbfa4ee3e.tar.bz2
rails-d63f6b9bdda2c20a9353ba5ab741396fbfa4ee3e.zip
Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/CHANGELOG2
-rw-r--r--railties/lib/commands/plugin.rb4
2 files changed, 4 insertions, 2 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 74ce8c0a3a..92d8a8bbe7 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Clarify usage of script/plugin source. Closes #5344. [james.adam@gmail.com]
+
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook. [Nicholas Seckar]
* Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279. [Rick Olson]
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb
index 2cdc19db41..48f226640c 100644
--- a/railties/lib/commands/plugin.rb
+++ b/railties/lib/commands/plugin.rb
@@ -577,8 +577,8 @@ module Commands
def options
OptionParser.new do |o|
o.set_summary_indent(' ')
- o.banner = "Usage: #{@base_command.script_name} source REPOSITORY"
- o.define_head "Add a new repository."
+ o.banner = "Usage: #{@base_command.script_name} source REPOSITORY [REPOSITORY [REPOSITORY]...]"
+ o.define_head "Add new repositories to the default search list."
end
end