cvs: php4 /pear/PEAR/Command Install.php

From: Date: Tue, 14 May 2002 01:49:18 +0000
Subject: cvs: php4 /pear/PEAR/Command Install.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3816@lists.php.net to get a copy of this message
ssb Mon May 13 21:49:18 2002 EDT Modified files: /php4/pear/PEAR/Command Install.php Log: * no need for getHelp() here anymore Index: php4/pear/PEAR/Command/Install.php diff -u php4/pear/PEAR/Command/Install.php:1.24 php4/pear/PEAR/Command/Install.php:1.25 --- php4/pear/PEAR/Command/Install.php:1.24 Sun May 12 17:09:04 2002 +++ php4/pear/PEAR/Command/Install.php Mon May 13 21:49:18 2002 @@ -16,7 +16,7 @@ // | Author: Stig Sæther Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: Install.php,v 1.24 2002/05/12 21:09:04 ssb Exp $ +// $Id: Install.php,v 1.25 2002/05/14 01:49:18 ssb Exp $ require_once "PEAR/Command/Common.php"; require_once "PEAR/Installer.php"; @@ -159,36 +159,6 @@ foreach (array_keys($this->commands) as $command) { $ret[$command] = $this->commands[$command]['summary']; } - return $ret; - } - - // }}} - // {{{ getHelp() - - function getHelp($command) - { - switch ($command) { - case 'install': - $ret = array('<pear package>', - 'Installs a PEAR package created by the "package" command'); - break; - case 'uninstall': - $ret = array('<package>', - 'Uninstalls a previously installed PEAR package'); - break; - case 'upgrade': - $ret = array('<pear package>', - '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; }

« previous php.pear.cvs (#3816) next »