PEAR Manual
Prev |  | Next

# PEAR_Command::getHelp()

PEAR_Command::getHelp() -- get help for command

## Synopsis

    require_once 'PEAR/command.php';

``string PEAR_Command::getHelp` (string $command)`

## Description

Get help for command.

## Parameter

string `$command`

  Name of the command to return help for

## Return value

`string` help text

## Throws

Table 27-1. Possible PEAR_Error values

Error code | Error value | Meaning | Solution
--- | --- | --- | ---
| "" |  |

## Note

This function should be called statically.

Prev | Home | Next
PEAR_Command::getGetoptArgs() | Up | PEAR_Command::getShortcuts()