cvs: php4 /pear/PEAR/Command Config.php
| From: | Stig Bakken | Date: | Wed, 20 Nov 2002 06:50:34 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Config.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7500@lists.php.net to get a copy of this message | ||
ssb Wed Nov 20 01:50:34 2002 EDT
Modified files:
/php4/pear/PEAR/Command Config.php
Log:
* fix doc for config-{set,get}
Index: php4/pear/PEAR/Command/Config.php
diff -u php4/pear/PEAR/Command/Config.php:1.19 php4/pear/PEAR/Command/Config.php:1.20
--- php4/pear/PEAR/Command/Config.php:1.19 Mon Nov 18 21:18:30 2002
+++ php4/pear/PEAR/Command/Config.php Wed Nov 20 01:50:33 2002
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Config.php,v 1.19 2002/11/19 02:18:30 ssb Exp $
+// $Id: Config.php,v 1.20 2002/11/20 06:50:33 ssb Exp $
require_once "PEAR/Command/Common.php";
require_once "PEAR/Config.php";
@@ -46,7 +46,8 @@
'function' => 'doConfigGet',
'shortcut' => 'cg',
'options' => array(),
- 'doc' => 'Displays the value of one configuration parameter. The
+ 'doc' => '<parameter> [layer]
+Displays the value of one configuration parameter. The
first argument is the name of the parameter, an optional second argument
may be used to tell which configuration layer to look in. Valid configuration
layers are "user", "system" and "default". If no layer is specified,
a value
@@ -59,7 +60,8 @@
'function' => 'doConfigSet',
'shortcut' => 'cs',
'options' => array(),
- 'doc' => 'Sets the value of one configuration parameter. The first
+ 'doc' => '<parameter> <value> [layer]
+Sets the value of one configuration parameter. The first
argument is the name of the parameter, the second argument is the new value.
Some parameters are be subject to validation, and the command will fail with
an error message if the new value does not make sense. An optional third