help-gengetopt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-gengetopt] Feature suggestion and patch


From: Lorenzo Bettini
Subject: Re: [help-gengetopt] Feature suggestion and patch
Date: Thu, 28 Feb 2002 14:56:01 +0100

"Philip W. L. Fong" wrote:
> 
> Hello,
> 
> Thank you for the very encouraging response.  It makes me bold enough
> to suggest another feature :-).

Hi Philip!

Glad to hear that :-)

> It would be nice if we could actually specify the type of the arguments
> we expect, and let gengetopt parses them:
> 
>   argument "arg-1"      "Description of arg-1"   string
>   argument "arg-2"      "Description of arg-2"   long
>   rest     "rest-args"  "Optional list of trailing arguments"
> 

yes you're definitely right! :-)

> What do you think about such an argument parsing feature?  Is it going
> to be useful to the users of gengetopt?  Is the design conforming to
> your future plans for gengetopt?  Would it be better off to parse also
> the optional trailing arguments?

well the more checks are performed, the better it would be, wouldn't it?
:-)

> As I understand it, such extension would involve more coding than
> the patch I sent you last time.  Therefore, I think I better get
> some feedback from you first, and in case I get the green light,
> I would be very happy to make the necessary changes.

well for me you have the green light :-)))

what would be really helpful is also some tests for these features (both
successful tests and tests destined to fail)

> 
> Thank you for taking time to read my very long mails. :-)

THANK YOU for your work :-)

cheers
        Lorenzo

-- 
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD student in Computer Science                    |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Tel +39 055 4796741, Fax +39 055 4796730           |
|  Florence - Italy         (Linux User # 158233)     |
|  Home Page        : http://w3.newnet.it/bettini     |
|  Mail             : address@hidden            |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://w3.newnet.it/bettini/purple     Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
+-----------------------------------------------------+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]