From: Stig Bakken Date: Fri, 13 Dec 2002 02:07:22 +0000 (+0000) Subject: * _parseArgs bugfix X-Git-Tag: RELEASE_1_0b3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5dd8161e687051fdb2cc4fbc3eeff51270444f6;p=php * _parseArgs bugfix --- diff --git a/pear/System.php b/pear/System.php index 712819d059..fb2ecac674 100644 --- a/pear/System.php +++ b/pear/System.php @@ -61,7 +61,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); }