diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-05 04:57:43 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-05 05:05:12 +0900 |
commit | 15fb7889c5566ddade1d8f74f49bbbc1c0be6057 (patch) | |
tree | 5e11da4301b83f81596cbf3c9c5ae59e08ba9db9 /railties/lib/rails | |
parent | 306027a62812970e784c0b38b4bb5840aa0c2cf2 (diff) | |
download | rails-15fb7889c5566ddade1d8f74f49bbbc1c0be6057.tar.gz rails-15fb7889c5566ddade1d8f74f49bbbc1c0be6057.tar.bz2 rails-15fb7889c5566ddade1d8f74f49bbbc1c0be6057.zip |
misleading error message that prompts non-existing command
[ci skip]
Diffstat (limited to 'railties/lib/rails')
-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 |