cvs: php4 /pear System.php

From: Date: Fri, 13 Dec 2002 02:07:23 +0000
Subject: cvs: php4 /pear System.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7863@lists.php.net to get a copy of this message
ssb Thu Dec 12 21:07:23 2002 EDT Modified files: /php4/pear System.php Log: * _parseArgs bugfix Index: php4/pear/System.php diff -u php4/pear/System.php:1.21 php4/pear/System.php:1.22 --- php4/pear/System.php:1.21 Sat Oct 12 10:17:44 2002 +++ php4/pear/System.php Thu Dec 12 21:07:22 2002 @@ -16,7 +16,7 @@ // | Authors: Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: System.php,v 1.21 2002/10/12 14:17:44 ssb Exp $ +// $Id: System.php,v 1.22 2002/12/13 02:07:22 ssb Exp $ // require_once 'PEAR.php'; @@ -43,7 +43,7 @@ * * @package System * @author Tomas V.V.Cox <cox@idecnet.com> -* @version $Revision: 1.21 $ +* @version $Revision: 1.22 $ * @access public * @see http://pear.php.net/manual/ */ @@ -61,7 +61,7 @@ function _parseArgs($argv, $short_options, $long_options = null) { if (!is_array($argv) && $argv !== null) { - $argv = preg_split('/\s+/', $argv); + $argv = preg_split('/\s+/', ': '.$argv); } return Console_Getopt::getopt($argv, $short_options); }

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