Console_Getopt changes
| From: | Sebastian Bergmann | Date: | Thu, 23 May 2002 10:30:27 +0000 |
| Subject: | Console_Getopt changes | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-6361@lists.php.net to get a copy of this message | ||
Recently the API of Console_Getopt changed.
This code
$options = Console_Getopt::getopt(
$argv,
'',
array(
'format=',
'language=',
'no-highlighting',
'processor='
)
);
print_r($options);
now gives me
Array
(
[0] => Array
(
)
[1] => Array
(
[0] => build.php
[1] => --format
[2] => all
[3] => --language
[4] => all
)
)
when called with
--format all --language all
as $argv.
Is this the intended behaviour?
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/