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

Request #18582 Add possibility to require a subcommand
Submitted: 2011-06-03 14:54 UTC
From: cweiske Assigned: izi
Status: Closed Package: Console_CommandLine (version 1.1.3)
PHP Version: 5.3.6 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-06-03 14:54 UTC] cweiske (Christian Weiske)
Description: ------------ Currently there does not seem to be a way to require the user to specify a subcommand. There should be a way to make them mandatory. Console_Commandline should react by showing the help screen when no subcommand is given.

Comments

 [2011-06-04 02:27 UTC] izi (David Jean Louis)
-Status: Open +Status: Closed -Assigned To: +Assigned To: izi
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.