Re: Re: [PEPr] Comment on Console::Console_Getargs

From: Date: Wed, 21 Apr 2004 17:10:41 +0000
Subject: Re: Re: [PEPr] Comment on Console::Console_Getargs
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28220@lists.php.net to get a copy of this message
Either option -a or -b has to be defined, but not both at the same time.
command -a    -> ok
command -b    -> ok
command -a -b -> error
command       -> error
Alex Bertrand Mansion wrote:
<pear-sys@php.net> wrote :
Alexander Wirtz (http://pear.php.net/user/eru) has commented on the proposal for Console::Console_Getargs. Comment: Great idea, I'm not very fond of the GetOpt package, imho it leaves much to be desired. As the python and perl packages are unknown to me, I'd like to know if it's possible to formulate "either-or" arguments. Even if this is not possible, I support the idea of an improved getarg-class very much...
Could you give me an example of what you call "either-or" ? Bertrand Mansion Mamasam -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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