Update CommandListShell to give better help.

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

Fixes #2121
This commit is contained in:
mark_story 2011-10-19 21:26:04 -04:00
parent 714e2812bc
commit bad819773e

View file

@ -144,7 +144,8 @@ class CommandListShell extends Shell {
$this->out(" " . $row);
}
$this->out();
$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);
}