cvs: php4(PHP_4_3) /pear/PEAR/Command Config.php
| From: | Stig Bakken | Date: | Mon, 25 Nov 2002 23:51:59 +0000 |
| Subject: | cvs: php4(PHP_4_3) /pear/PEAR/Command Config.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7591@lists.php.net to get a copy of this message | ||
ssb Mon Nov 25 18:51:59 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/pear/PEAR/Command Config.php
Log:
MFH
Index: php4/pear/PEAR/Command/Config.php
diff -u php4/pear/PEAR/Command/Config.php:1.18.4.1 php4/pear/PEAR/Command/Config.php:1.18.4.2
--- php4/pear/PEAR/Command/Config.php:1.18.4.1 Mon Nov 18 21:23:28 2002
+++ php4/pear/PEAR/Command/Config.php Mon Nov 25 18:51:58 2002
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Config.php,v 1.18.4.1 2002/11/19 02:23:28 ssb Exp $
+// $Id: Config.php,v 1.18.4.2 2002/11/25 23:51:58 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,12 +60,13 @@
'function' => 'doConfigSet',
'shortcut' => 'cs',
'options' => array(),
- 'doc' => '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
-argument may be used to specify which layer to set the configuration parameter
-in. The default layer is "user".
+ '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 subject to validation, and the command will fail with
+an error message if the new value does not make sense. An optional
+third argument may be used to specify in which layer to set the
+configuration parameter. The default layer is "user".
',
),
'config-help' => array(
@@ -198,4 +200,4 @@
}
-?>
\ No newline at end of file
+?>