[PEPr] Comment on Console::Console_Getargs

From: Date: Thu, 22 Apr 2004 00:56:08 +0000
Subject: [PEPr] Comment on Console::Console_Getargs
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28237@lists.php.net to get a copy of this message
Alan Knowles (http://pear.php.net/user/alan_k) has commented on the proposal for Console::Console_Getargs. Comment: looks really nice - couple of things it would be nice if the options array could accept a more verbose format. file => array( 'shortopt' => 'f' 'minargs' => 1, 'desc' => 'this is the file..' 'required' => true ); one of the other big problems with console getopt, is that I have to look up in the manual every time I see code using it.. (Even code I wrote myself a year ago..) .. you may want to reduce the if () { if () { if () { if () { - quite a few of these return from the conditions, so you dont need else.. on them. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=58 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#28237) next »