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

Request #11361 better help message
Submitted: 2007-06-19 07:41 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: PHP_ParserGenerator (version 0.1.5)
PHP Version: Irrelevant 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 : 19 + 15 = ?

 
 [2007-06-19 07:41 UTC] cweiske (Christian Weiske)
Description: ------------ When executing "phplemon --help", an "undefined option -h" message is shown. A newline should be added after it. Further, a proper help message should be available like "phplemon [options] file.lmn\nphplemon generates bla bla" and then the options listed.

Comments

 [2007-06-19 07:45 UTC] cweiske (Christian Weiske)
Line 266 in ParserGenerator.php - echo $e->getMessage(); + echo $e->getMessage() . "\n";
 [2010-08-14 18:18 UTC] jespino (Jesús Espino)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
This bug has been fixed in SVN. 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. Applied the solution proposed by Christian Weiske