Skip to content

Commit

Permalink
Merge pull request cakephp#5736 from cakephp/jeremyharris-patch-2
Browse files Browse the repository at this point in the history
Added note about adding multiple commands that share a class
  • Loading branch information
markstory authored May 11, 2018
2 parents 1626fa2 + e39ae38 commit 773efab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions en/console-and-shells.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ In the above example, the only commands available would be ``help``, ``version``
and ``user``. See the :ref:`plugin-commands` section for how to add commands in
your plugins.

.. note::

When adding multiple commands that use the same Command class, the ``help``
command will display the shortest option.

.. versionadded:: 3.5.0
The ``console`` hook was added.

Expand Down

0 comments on commit 773efab

Please sign in to comment.