Exemplo n.º 1
0
 /**
  * Get help for command.
  *
  * @param string $command Name of the command to return help for
  *
  * @access public
  * @static
  */
 function getHelp($command)
 {
     $cmds = PEAR_Command::getCommands();
     if (isset($GLOBALS['_PEAR_Command_shortcuts'][$command])) {
         $command = $GLOBALS['_PEAR_Command_shortcuts'][$command];
     }
     if (isset($cmds[$command])) {
         $obj =& PEAR_Command::getObject($command);
         return $obj->getHelp($command);
     }
     return false;
 }