From: Greg Beaver Date: Fri, 12 Dec 2003 00:04:17 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.5RC1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf7636d282b9ae14936e39d5dbffdc435a7b2957;p=php MFH --- diff --git a/pear/package-PEAR.xml b/pear/package-PEAR.xml index 2b81e10748..7b38c17721 100644 --- a/pear/package-PEAR.xml +++ b/pear/package-PEAR.xml @@ -59,7 +59,7 @@ PEAR Installer: * Bug #293 [Patch] PEAR_Error not calling static method callbacks for error-handler * Bug #324 pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level) * Moved download code into its own class -* Fully unit tested the installer and downloader, plus PEAR_Common +* Fully unit tested the installer, packager, downloader, and PEAR_Common @@ -123,7 +123,7 @@ PEAR Installer: Archive_Tar - Console_Getopt + Console_Getopt XML_RPC xmlrpc xml diff --git a/pear/scripts/pearcmd.php b/pear/scripts/pearcmd.php index 09b2e30af9..338ed406c5 100644 --- a/pear/scripts/pearcmd.php +++ b/pear/scripts/pearcmd.php @@ -49,7 +49,7 @@ $all_commands = PEAR_Command::getCommands(); $argv = Console_Getopt::readPHPArgv(); $progname = basename($argv[0]); array_shift($argv); -$options = Console_Getopt::getopt($argv, "c:C:d:D:Gh?sSqu:vV"); +$options = Console_Getopt::getopt2($argv, "c:C:d:D:Gh?sSqu:vV"); if (PEAR::isError($options)) { usage($options); } @@ -157,7 +157,7 @@ if ($fetype == 'Gtk') { $short_args = $long_args = null; PEAR_Command::getGetoptArgs($command, $short_args, $long_args); array_shift($options[1]); - if (PEAR::isError($tmp = Console_Getopt::getopt($options[1], $short_args, $long_args))) { + if (PEAR::isError($tmp = Console_Getopt::getopt2($options[1], $short_args, $long_args))) { break; } list($tmpopt, $params) = $tmp;