Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.2

Bug #15376 short option and long options in separated lines in help message
Submitted: 2008-12-22 09:13 UTC
From: izi Assigned: izi
Status: Closed Package: Console_CommandLine (version CVS)
PHP Version: 5.2.7 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 16 - 11 = ?

 
 [2008-12-22 09:13 UTC] izi (David Jean Louis)
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

Comments

 [2008-12-22 15:10 UTC] izi (David Jean Louis)
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;