summaryrefslogtreecommitdiff
path: root/pear/System.php
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2003-12-11 05:54:35 +0000
committerGreg Beaver <cellog@php.net>2003-12-11 05:54:35 +0000
commitab3afbfdf5d9318ca746c1fab2500a2e0c767668 (patch)
tree831dc99ee6688f4dfaeb1138c153ab8680509121 /pear/System.php
parent3cd16913a8c61e03b39234ba207874e62b8bb263 (diff)
downloadphp-git-ab3afbfdf5d9318ca746c1fab2500a2e0c767668.tar.gz
since nobody has taken any action, fix Console_Getopt to be BC, and update the PEAR core to take advantage of the new way. Use 1.2 to avoid any problems with versioning.
The core passes all unit tests with these changes, so they should work. Andrei: feel free to change anything you don't like, this is just a make it work fix.
Diffstat (limited to 'pear/System.php')
-rw-r--r--pear/System.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/System.php b/pear/System.php
index 66f48fe49f..b2b2822588 100644
--- a/pear/System.php
+++ b/pear/System.php
@@ -68,7 +68,7 @@ class System
if (!is_array($argv) && $argv !== null) {
$argv = preg_split('/\s+/', $argv);
}
- return Console_Getopt::getopt($argv, $short_options);
+ return Console_Getopt::getopt2($argv, $short_options);
}
/**