[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-doc
Subject:    [PEAR-DOC] =?utf-8?q?svn:_/pear/peardoc/trunk/en/package/console/console-commandline/_options.xml?=
From:       Christian_Weiske <cweiske () php ! net>
Date:       2015-12-10 18:35:15
Message-ID: svn-cweiske-1449772515-338236-605885178 () svn ! php ! net
[Download RAW message or body]

cweiske                                  Thu, 10 Dec 2015 18:35:15 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=338236

Log:
Fix bug #18397: Console_CommandLine list action example is wrong

Bug: http://pear.php.net/bugs/18397 (unknown) 
      
Changed paths:
    U   pear/peardoc/trunk/en/package/console/console-commandline/options.xml

Modified: pear/peardoc/trunk/en/package/console/console-commandline/options.xml
===================================================================
--- pear/peardoc/trunk/en/package/console/console-commandline/options.xml	2015-12-10 \
                17:26:51 UTC (rev 338235)
+++ pear/peardoc/trunk/en/package/console/console-commandline/options.xml	2015-12-10 \
18:35:15 UTC (rev 338236) @@ -538,7 +538,10 @@
    'short_name' => '-l',
    'long_name'  => '--list-colors',
    'action'     => 'List',
-   'list'       => array('blue', 'green', 'yellow')
+   'action_params' => array(
+       'list'      => array('blue', 'green', 'yellow'),
+       'delimiter' => ',' //optional
+   )
 ));
 $result = $parser->parse();
 ?>



-- 
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic