RPM Community Forums

Mailing List Message of <popt-devel>

Re: Cloning getopt (and getopt_long) into popt?

From: Ralf S. Engelschall <rse@rpm5.org>
Date: Sat 20 Dec 2008 - 09:06:35 CET
Message-ID: <20081220080635.GA74113@engelschall.com>
On Fri, Dec 19, 2008, Jeff Johnson wrote:

> popt competes for mind share with getopt, and
> particularly with GNU getopt_long, the Debian added borkedness (jmnsho).
> Should I add a getopt(3)/getopt_long(3) wrapper onto
> popt to lower the barrier to converting from getopt_long(3)?
> I personally don't care a bit because I use popt instead
> of getopt_long(3) all the time and everywhere.
> But the wrapper (with AutoFu disablers) is trivially arranged
> if there is interest.

Ah, yes, as long as one can still build a POPT without these two symbols
(to avoid conflicts) this would be a really nice addition for POPT. I
would say: go for it as long as is an _optional_ feature!

                                       Ralf S. Engelschall
Received on Sat Dec 20 09:10:07 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.