summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-11-20 06:50:33 +0000
committerStig Bakken <ssb@php.net>2002-11-20 06:50:33 +0000
commit0cc15ba4b901d78d6441d647155c1797e302879e (patch)
tree8def9328c1b2d499508855a3d024aede548cb802
parent96b562ae297b59f451df3a9c0a825560decad419 (diff)
downloadphp-git-0cc15ba4b901d78d6441d647155c1797e302879e.tar.gz
* fix doc for config-{set,get}
-rw-r--r--pear/PEAR/Command/Config.php6
1 files changed, 4 insertions, 2 deletions
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' => '<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 @@ just specified.
'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