From d63f6b9bdda2c20a9353ba5ab741396fbfa4ee3e Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Mon, 7 Aug 2006 06:42:24 +0000 Subject: [PATCH] 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 --- railties/CHANGELOG | 2 ++ railties/lib/commands/plugin.rb | 4 ++-- 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