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

Request #13147 CLI: add filter file extension option on parsing directory
Submitted: 2008-02-19 09:09 UTC
From: farell Assigned: farell
Status: Closed Package: PHP_CompatInfo (version 1.6.1)
PHP Version: 5.2.5 OS:
Roadmaps: 1.7.0    
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 : 3 + 20 = ?

 
 [2008-02-19 09:09 UTC] farell (Laurent Laville)
Description: ------------ The only option that is missing on the CLI version of PHP_CompatInfo, is : "file_ext" Add a new switch : -fe | --file-ext with a comma separate list of file extension to include in directory parsing; default is : 'php', 'php4', 'inc', 'phtml' Example : --file-ext=php,php5 Will parse only file with php and php5 extension, and ignore all others

Comments

 [2008-02-19 10:38 UTC] farell (Laurent Laville)
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. See Rev 1.31