Browse Source

fix arg parsing to work with Console_Getopt 2.0

PEAR_1_4DEV
Greg Beaver 23 years ago
parent
commit
fc3cb93064
  1. 2
      pear/System.php

2
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);
}

Loading…
Cancel
Save