RPM Community Forums

Mailing List Message of <popt-devel>

Cloning getopt (and getopt_long) into popt?

From: Jeff Johnson <jbj@jbj.org>
Date: Fri 19 Dec 2008 - 22:27:27 CET
Message-Id: <014F73EB-14BA-4FD3-A48D-41879C27D587@jbj.org>
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.

(Note: one thing that popt __DOES__ need is the ability to
per-executable option persistent preference settings. But
that can be done in many ways, not just the way that getopt_long(3)

73 de Jeff
Received on Sat Dec 20 00:57:11 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.