summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-03-12 03:05:04 +0000
committerAndrei Zmievski <andrei@php.net>2001-03-12 03:05:04 +0000
commit2d54fb39b957cc0ca973d0cbb5d1869567c2df76 (patch)
treeddf6b8b8a586325a02d17a586df01b304801e026
parent23a446c4295c297c098ce9b17e84104ba6f512f4 (diff)
downloadphp-git-2d54fb39b957cc0ca973d0cbb5d1869567c2df76.tar.gz
Use proper class name.
-rw-r--r--pear/Console/Getopt.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/Console/Getopt.php b/pear/Console/Getopt.php
index ce7afe5cef..e8f04165a0 100644
--- a/pear/Console/Getopt.php
+++ b/pear/Console/Getopt.php
@@ -87,11 +87,11 @@ class Console_Getopt {
if ($arg{0} != '-' || ($arg{1} == '-' && !$long_options)) {
$non_opts[] = $arg;
} else if ($arg{1} == '-') {
- $error = Getopt::_parseLongOption(substr($arg, 2), $long_options, $opts, $args);
+ $error = Console_Getopt::_parseLongOption(substr($arg, 2), $long_options, $opts, $args);
if (PEAR::isError($error))
return $error;
} else {
- $error = Getopt::_parseShortOption(substr($arg, 1), $short_options, $opts, $args);
+ $error = Console_Getopt::_parseShortOption(substr($arg, 1), $short_options, $opts, $args);
if (PEAR::isError($error))
return $error;
}