From: Stig Bakken Date: Wed, 20 Nov 2002 06:50:33 +0000 (+0000) Subject: * fix doc for config-{set,get} X-Git-Tag: RELEASE_1_0b2~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cc15ba4b901d78d6441d647155c1797e302879e;p=php * fix doc for config-{set,get} --- diff --git a/pear/PEAR/Command/Config.php b/pear/PEAR/Command/Config.php index 85304fdcae..63ecc4b102 100644 --- a/pear/PEAR/Command/Config.php +++ b/pear/PEAR/Command/Config.php @@ -46,7 +46,8 @@ configuration layers are "user", "system" and "default". 'function' => 'doConfigGet', 'shortcut' => 'cg', 'options' => array(), - 'doc' => 'Displays the value of one configuration parameter. The + 'doc' => ' [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 @@ just specified. 'function' => 'doConfigSet', 'shortcut' => 'cs', 'options' => array(), - 'doc' => 'Sets the value of one configuration parameter. The first + 'doc' => ' [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