FAQ
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@php.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.

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 10, '12 at 7:41p
activeDec 10, '12 at 7:41p
posts1
users1
websitepear.php.net

1 user in discussion

Pear: 1 post

People

Translate

site design / logo © 2022 Grokbase