提交 cfb3019a 编写于 作者: C Carlos Antonio da Silva

Merge pull request #8758 from amatsuda/plugin_new_error_message

Misleading error message that prompts non-existing command [ci skip]
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册