Browse files

Update CommandListShell to give better help.

plugins require plugin prefixes now.  Update the help
to suggest how to run plugin shells.

Fixes #2121
  • Loading branch information...
markstory committed Oct 20, 2011
1 parent 714e281 commit bad819773eac1dd47ac5d3708dc64f185270b15b
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Cake/Console/Command/CommandListShell.php
@@ -144,7 +144,8 @@ protected function _asText($shellList) {
$this->out(" " . $row);
- $this->out(__d('cake_console', "To run a command, type <info>cake shell_name [args]</info>"));
+ $this->out(__d('cake_console', "To run an app or core command, type <info>cake shell_name [args]</info>"));
+ $this->out(__d('cake_console', "To run a plugin command, type <info>cake Plugin.shell_name [args]</info>"));
$this->out(__d('cake_console', "To get help on a specific command, type <info>cake shell_name --help</info>"), 2);

0 comments on commit bad8197

Please sign in to comment.