Req #19163 [Opn]: Support for multiple options like "-Dfoo=bar"
| From: | pear at laurent-laville dot org | Date: | Mon, 10 Dec 2012 19:41:45 +0000 |
| Subject: | Req #19163 [Opn]: Support for multiple options like "-Dfoo=bar" | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9402@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19163&edit=1
ID: 19163
Updated by: pear@laurent-laville.org
Reported By: cweiske at php dot net
Summary: Support for multiple options like "-Dfoo=bar"
Status: Open
Type: Feature/Change Request
Package: Console_CommandLine
Package Version: 1.1.3
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
Christian,
There are no modification required to solve your need.
See the same case (and solution applied) on PHP_CompatInfo (cli)
https://github.com/llaville/php-compat-info/issues/55
TIP: use the StoreArray action rather than default StoreString
Regards
- Laurent
Previous Comments:
------------------------------------------------------------------------
[2011-12-29 15:06:55] cweiske
Description:
------------
Some programs, e.g. php, java and phing, support user-defined options
with "-D<property>=<value>":
$ php -Dassert.bail=1 -Dphar.readonly=Off somefile.php
$ phing -Duser=cweiske deploy
Console_CommandLine should allow multiple of such undetermined options.
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19163&edit=1