From fc3cb93064cf36c48d026d49651b9e75e9cfbc58 Mon Sep 17 00:00:00 2001 From: Greg Beaver Date: Sat, 6 Dec 2003 22:07:49 +0000 Subject: [PATCH] fix arg parsing to work with Console_Getopt 2.0 --- pear/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.40.0