andrei Sun Mar 11 19:05:04 2001 EDT Modified files: /php4/pear/Console Getopt.php Log: Use proper class name. Index: php4/pear/Console/Getopt.php diff -u php4/pear/Console/Getopt.php:1.1 php4/pear/Console/Getopt.php:1.2 --- php4/pear/Console/Getopt.php:1.1 Thu Jan 11 10:38:26 2001 +++ php4/pear/Console/Getopt.php Sun Mar 11 19:05:04 2001 @@ -17,7 +17,7 @@ // | Authors: Andrei Zmievski <[EMAIL PROTECTED]> | // +----------------------------------------------------------------------+ // -// $Id: Getopt.php,v 1.1 2001/01/11 18:38:26 andrei Exp $ +// $Id: Getopt.php,v 1.2 2001/03/12 03:05:04 andrei Exp $ require_once 'PEAR.php'; @@ -87,11 +87,11 @@ 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; } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]