diff options
| author | Stig Bakken <ssb@php.net> | 2002-12-13 02:07:22 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 2002-12-13 02:07:22 +0000 |
| commit | e5dd8161e687051fdb2cc4fbc3eeff51270444f6 (patch) | |
| tree | 32f488dea627cf51c77db01830182714a950d888 /pear/System.php | |
| parent | 92d5faca60877d51eae08bb6918b92124ca23d93 (diff) | |
| download | php-git-e5dd8161e687051fdb2cc4fbc3eeff51270444f6.tar.gz | |
* _parseArgs bugfix
Diffstat (limited to 'pear/System.php')
| -rw-r--r-- | pear/System.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
