]> granicus.if.org Git - php/commitdiff
Use proper class name.
authorAndrei Zmievski <andrei@php.net>
Mon, 12 Mar 2001 03:05:04 +0000 (03:05 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 12 Mar 2001 03:05:04 +0000 (03:05 +0000)
pear/Console/Getopt.php

index ce7afe5cef4a993dba913c1f2c2d0a0153f1ee19..e8f04165a0fa7dab9bda5141c3b90ef9f79da226 100644 (file)
@@ -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;
             }