From: Greg Beaver Date: Sat, 6 Dec 2003 22:07:49 +0000 (+0000) Subject: fix arg parsing to work with Console_Getopt 2.0 X-Git-Tag: php-5.0.0b3RC1~238 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc3cb93064cf36c48d026d49651b9e75e9cfbc58;p=php fix arg parsing to work with Console_Getopt 2.0 --- diff --git a/pear/System.php b/pear/System.php index 28b66b1cd5..66f48fe49f 100644 --- a/pear/System.php +++ b/pear/System.php @@ -66,7 +66,7 @@ class System 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); }