cvs: php4 /pear/scripts pear.in

From: Date: Sun, 12 May 2002 16:30:32 +0000
Subject: cvs: php4 /pear/scripts pear.in
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3783@lists.php.net to get a copy of this message
cox Sun May 12 12:30:32 2002 EDT Modified files: /php4/pear/scripts pear.in Log: The first entry in argv is the command name, so Getopt will stop parsing more args # Stig be carefull, your change to Getopt breaks BC Index: php4/pear/scripts/pear.in diff -u php4/pear/scripts/pear.in:1.42 php4/pear/scripts/pear.in:1.43 --- php4/pear/scripts/pear.in:1.42 Wed May 8 22:31:37 2002 +++ php4/pear/scripts/pear.in Sun May 12 12:30:26 2002 @@ -35,8 +35,8 @@ $cmd_options = PEAR_Command::getOptions(); $progname = basename(__FILE__); -// XXX change Getopt to use raiseError() ? $argv = Console_Getopt::readPHPArgv(); +array_shift($argv); $options = Console_Getopt::getopt($argv, "c:C:d:D:Gh?sSqu:v" . $cmd_options); if (PEAR::isError($options)) { usage($options);

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