- MFH Add 'help commands' support

This commit is contained in:
Marcus Boerger 2008-05-31 20:24:34 +00:00
parent 631484e2c7
commit 28dd1f5f5e

View File

@ -316,6 +316,10 @@ abstract class CLICommand
$which = $which[0];
if (!array_key_exists($which, $this->cmds)) {
if (strtolower($which) == 'commands') {
self::cli_cmd_run_help_list();
exit(0);
}
self::error("Unknown command, cannot retrieve help.\n");
}