cvs: pear-core /PEAR/Frontend CLI.php
| From: | Greg Beaver | Date: | Thu, 11 Aug 2005 03:47:26 +0000 |
| Subject: | cvs: pear-core /PEAR/Frontend CLI.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-3468@lists.php.net to get a copy of this message | ||
cellog Wed Aug 10 23:47:26 2005 EDT
Modified files:
/pear-core/PEAR/Frontend CLI.php
Log:
add ability to display instructions for a particular paramgroup
section in a post-install script
http://cvs.php.net/diff.php/pear-core/PEAR/Frontend/CLI.php?r1=1.52&r2=1.53&ty=u
Index: pear-core/PEAR/Frontend/CLI.php
diff -u pear-core/PEAR/Frontend/CLI.php:1.52 pear-core/PEAR/Frontend/CLI.php:1.53
--- pear-core/PEAR/Frontend/CLI.php:1.52 Sun Aug 7 23:13:17 2005
+++ pear-core/PEAR/Frontend/CLI.php Wed Aug 10 23:47:25 2005
@@ -16,7 +16,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: CLI.php,v 1.52 2005/08/08 03:13:17 cellog Exp $
+ * @version CVS: $Id: CLI.php,v 1.53 2005/08/11 03:47:25 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -242,6 +242,9 @@
}
}
$lastgroup = $group;
+ if (isset($group['instructions'])) {
+ $this->_display($group['instructions']);
+ }
if (!isset($group['param'][0])) {
$group['param'] = array($group['param']);
}