cvs: php4 /pear/Console Getopt.php

From: Date: Mon, 12 Mar 2001 03:05:04 +0000
Subject: cvs: php4 /pear/Console Getopt.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4499@lists.php.net to get a copy of this message
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 <andrei@ispi.net> | // +----------------------------------------------------------------------+ // -// $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; }

« previous php.cvs (#4499) next »