From e5dd8161e687051fdb2cc4fbc3eeff51270444f6 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Fri, 13 Dec 2002 02:07:22 +0000 Subject: [PATCH] * _parseArgs bugfix --- pear/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.1