cvs: pear /Console_Getargs Getargs.php

From: Date: Mon, 08 Nov 2004 18:50:10 +0000
Subject: cvs: pear /Console_Getargs Getargs.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-25784@lists.php.net to get a copy of this message
scottmattocks Mon Nov 8 13:50:10 2004 EDT Modified files: /pear/Console_Getargs Getargs.php Log: Remove debug info. http://cvs.php.net/diff.php/pear/Console_Getargs/Getargs.php?r1=1.13&r2=1.14&ty=u Index: pear/Console_Getargs/Getargs.php diff -u pear/Console_Getargs/Getargs.php:1.13 pear/Console_Getargs/Getargs.php:1.14 --- pear/Console_Getargs/Getargs.php:1.13 Mon Nov 8 13:48:41 2004 +++ pear/Console_Getargs/Getargs.php Mon Nov 8 13:50:09 2004 @@ -16,7 +16,7 @@ // | Author: Bertrand Mansion <bmansion@mamasam.com> | // +----------------------------------------------------------------------+ // -// $Id: Getargs.php,v 1.13 2004/11/08 18:48:41 scottmattocks Exp $ +// $Id: Getargs.php,v 1.14 2004/11/08 18:50:09 scottmattocks Exp $ require_once 'PEAR.php'; @@ -869,7 +869,6 @@ } if ($min > $added && !$paramFull) { // There aren't enough arguments for this option. - echo $max . "\t" . count ($this->getValue($optname)) . "\t" . $optname . "\n"; return PEAR::raiseError('Argument '.$optname.' expects at least '.$min.(($min > 1) ? ' values' : ' value'), CONSOLE_GETARGS_ERROR_USER, PEAR_ERROR_RETURN, null, 'Console_Getargs_Options::setValue()');

« previous php.pear.cvs (#25784) next »