diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-04 12:25:22 -0800 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-04 12:25:22 -0800 |
commit | cfb3019a1a7d699282a650b68cba7201b5e9f379 (patch) | |
tree | 5e11da4301b83f81596cbf3c9c5ae59e08ba9db9 /railties | |
parent | 306027a62812970e784c0b38b4bb5840aa0c2cf2 (diff) | |
parent | 15fb7889c5566ddade1d8f74f49bbbc1c0be6057 (diff) | |
download | rails-cfb3019a1a7d699282a650b68cba7201b5e9f379.tar.gz rails-cfb3019a1a7d699282a650b68cba7201b5e9f379.tar.bz2 rails-cfb3019a1a7d699282a650b68cba7201b5e9f379.zip |
Merge pull request #8758 from amatsuda/plugin_new_error_message
Misleading error message that prompts non-existing command [ci skip]
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb index 48ce3e86a1..b9b763e639 100644 --- a/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb +++ b/railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb @@ -175,7 +175,7 @@ task default: :test "skip adding entry to Gemfile" def initialize(*args) - raise Error, "Options should be given after the plugin name. For details run: rails plugin --help" if args[0].blank? + raise Error, "Options should be given after the plugin name. For details run: rails plugin new --help" if args[0].blank? @dummy_path = nil super |