]> granicus.if.org Git - php/commitdiff
* fix doc for config-{set,get}
authorStig Bakken <ssb@php.net>
Wed, 20 Nov 2002 06:50:33 +0000 (06:50 +0000)
committerStig Bakken <ssb@php.net>
Wed, 20 Nov 2002 06:50:33 +0000 (06:50 +0000)
pear/PEAR/Command/Config.php

index 85304fdcaefcfcbcee37cabc125e4da617b473ed..63ecc4b102ed69a7bc525a8f856ccc94e0f38d56 100644 (file)
@@ -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