From: Stig Bakken Date: Tue, 14 May 2002 01:49:18 +0000 (+0000) Subject: * no need for getHelp() here anymore X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=677cda3ea460f4330a6b9b045adebd1fb06a18a9;p=php * no need for getHelp() here anymore --- diff --git a/pear/PEAR/Command/Install.php b/pear/PEAR/Command/Install.php index ee6a8fd349..d136e740a5 100644 --- a/pear/PEAR/Command/Install.php +++ b/pear/PEAR/Command/Install.php @@ -162,36 +162,6 @@ More than one package may be specified at once. return $ret; } - // }}} - // {{{ getHelp() - - function getHelp($command) - { - switch ($command) { - case 'install': - $ret = array('', - 'Installs a PEAR package created by the "package" command'); - break; - case 'uninstall': - $ret = array('', - 'Uninstalls a previously installed PEAR package'); - break; - case 'upgrade': - $ret = array('', - 'Upgrades a PEAR package installed in the system'); - break; - } - $ret[0] = "[-f] [-n] [-r] [-s] [-Z] {$ret[0]}"; - $ret[1] = "{$ret[1]}\n" . - " -f forces the installation of the package\n". - " when it is already installed\n". - " -n do not take care of package dependencies\n". - " -r only (un)register package, do not (un)install files\n". - " -s soft update: install or upgrade only if needed\n". - " -Z no compression: download plain .tar files"; - return $ret; - } - // }}} // {{{ run()