diff --git a/en/console-commands.rst b/en/console-commands.rst index c1c7ac09ee..15a3a29a6d 100644 --- a/en/console-commands.rst +++ b/en/console-commands.rst @@ -117,7 +117,7 @@ You can customize the command names by defining each command in your plugin:: } When overriding the ``console()`` hook in your application, remember to -call ``$commands->autoDiscover()`` to add commands from CakePHP, your +call ``$commands->addMany($commands->autoDiscover())`` to add commands from CakePHP, your application, and plugins. If you need to rename/remove any attached commands, you can use the