Console_CommandLine Bug #15376http://pear.php.net/bugs/15376
[Closed] short option and long options in separated lines in help messageen-uspear-webmaster@lists.php.netpear-webmaster@lists.php.nethourly12000-01-01T12:00+00:00

short option and long options in separated lines in help messageDescription:
------------
For improved readability of the help message, there should be an easy way to put short option and long option in their own lines in the help message: for example:
-s somelongfoooption
--somelongfoooption=somelongfoooption some description
-o otherbaroption
--otherbaroption=otherbaroption some descriptionizi
izihttp://pear.php.net/bugs/15376
Console_CommandLine Bug
Reported by izi
2008-12-22T04:13:35+00:00
PHP: 5.2.7 OS: Package Version: CVS
Description:
------------
For improved readability of the help message, there should be an easy way to put short option and long option in their own lines in the help message: for example:
-s somelongfoooption
--somelongfoooption=somelongfoooption some description
-o otherbaroption
--otherbaroption=otherbaroption some description]]>Console_CommandLine Bug
Reported by izi
2008-12-22T04:13:35+00:00
PHP: 5.2.7 OS: Package Version: CVS
Description:
------------
For improved readability of the help message, there should be an easy way to put short option and long option in their own lines in the help message: for example:
-s somelongfoooption
--somelongfoooption=somelongfoooption some description
-o otherbaroption
--otherbaroption=otherbaroption some description]]>2008-12-22T04:13:35+00:00
izi [2008-12-22 10:10] http://pear.php.net/bugs/15376#1229940643
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Now to achieve this you just have to add:
$parser->renderer->options_on_different_lines = true;]]>This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Now to achieve this you just have to add:
$parser->renderer->options_on_different_lines = true;]]>2008-12-22T10:10:43+00:00