Permalink
Browse files

misleading error message that prompts non-existing command

[ci skip]
  • Loading branch information...
1 parent 306027a commit 15fb7889c5566ddade1d8f74f49bbbc1c0be6057 @amatsuda amatsuda committed Jan 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/rails/plugin_new/plugin_new_generator.rb
@@ -175,7 +175,7 @@ class PluginNewGenerator < AppBase # :nodoc:
"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

0 comments on commit 15fb788

Please sign in to comment.