cvs: pear-core /PEAR/Command Common.php
| From: | Greg Beaver | Date: | Sat, 25 Mar 2006 21:08:36 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Common.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4651@lists.php.net to get a copy of this message | ||
cellog Sat Mar 25 21:08:36 2006 UTC
Modified files:
/pear-core/PEAR/Command Common.php
Log:
fix errant introduction of _ into $this->commands, breaks
the help command
http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Command/Common.php?r1=1.33&r2=1.34&diff_format=u
Index: pear-core/PEAR/Command/Common.php
diff -u pear-core/PEAR/Command/Common.php:1.33 pear-core/PEAR/Command/Common.php:1.34
--- pear-core/PEAR/Command/Common.php:1.33 Sun Mar 5 21:31:41 2006
+++ pear-core/PEAR/Command/Common.php Sat Mar 25 21:08:36 2006
@@ -16,7 +16,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Common.php,v 1.33 2006/03/05 21:31:41 cellog Exp $
+ * @version CVS: $Id: Common.php,v 1.34 2006/03/25 21:08:36 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -201,7 +201,7 @@
return "No such command \"$command\"";
}
$help = null;
- if (isset($this->_commands[$command]['doc'])) {
+ if (isset($this->commands[$command]['doc'])) {
$help = $this->commands[$command]['doc'];
}
if (empty($help)) {