[PEPr] Comment on Console::Console_GetoptPlus
| From: | Michel Corne | Date: | Fri, 11 Jan 2008 17:19:04 +0000 |
| Subject: | [PEPr] Comment on Console::Console_GetoptPlus | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-48916@lists.php.net to get a copy of this message | ||
Michel Corne (http://pear.php.net/user/mcorne) has commented on the proposal for
Console::Console_GetoptPlus.
Comment:
In reply Jean Louis' questions on some functionalities:
+ Yes, GetoptPlus handles the '--' special option that stops options
parsing and consider further tokens as parameters
+ Yes, long options can be separated from the argument with '=' or by a
space
+ Yes, '-' alone is handled as the standard input (stdin) flag and
remaining tokens are considered as parameters, as per Console_getopt
+ Yes, it is POSIX compliant (first non-option stops option processing)
BUT there is no other mode; this could be added as an enhancement as you
are suggesting.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=524
--
Sent by PEPr, the automatic proposal system at http://pear.php.net