savannah-hackers
[Top][All Lists]
Advanced

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

Re: [Savannah-hackers] submission of argopt, an alternative getopt libra


From: Sylvain Beucler
Subject: Re: [Savannah-hackers] submission of argopt, an alternative getopt library - savannah.nongnu.org
Date: Fri, 3 Sep 2004 21:57:16 +0200
User-agent: Mutt/1.4.2.1i

Hi,

I approved your project.  You will receive an automated e-mail
containing detailed information about the approval.

Regards,

-- 
Sylvain

On Thu, Jan 15, 2004 at 07:11:58AM -0500, address@hidden wrote:
> A package was submitted to savannah.nongnu.org
> This mail was sent to address@hidden, address@hidden
> 
> 
> Jules Colding <address@hidden> described the package as follows:
> License: lgpl
> Other License: 
> Package: argopt, an alternative getopt library
> System name: argopt
> Type: non-GNU
> 
> Description:
> This project grew out of frustration with getopt(3). getopt(3) is, in my 
> personal opinion, not paticularly well designed. There is a confusing array 
> of possible program argument syntaxes, especially the artificial distinction 
> between long and short options. Consider the following two options:
> 
>    --dosomething
>    -d
> 
> Invoking your program with "a.out -d" is ambigious. getopt(3) would always 
> assume that you actually ment "-d", but what if you simply forgot  an extra 
> "-"?
> 
> Removing the distinction between long and short options would make it safer 
> to specify un-ambigious options, and IMHO is a cleaner design. 
> 
> Another design issue is the use of magical numerical constants in getopt(3) 
> function calls.
> 
> All of these issues are solved by implementing an alternative library, named 
> argopt(3). argopt(3) are therefore presented as an alternative for getopt(3) 
> that I would like to make available for free software developers.
> 
> The library is fully implemented and tested. I do not have an URL to give 
> you, but I would like to send a tar-ball by email, if possible.
> 
> Best regards,




reply via email to

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