HTTPS clone URL
Subversion checkout URL
Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions, but it improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to…
master origin popt.1.17 r2-3-11-patches rpm-3.0.5 rpm-3_0_5 rpm-4.0 rpm-4_0 rpm-4.1 rpm-4_1 rpm-4.2 rpm-4_2 rpm-4.3 rpm-4_3 rpm-4.4 rpm-4_4 rpm-4.5 rpm-4_5
Nothing to show
Nothing to show
Fetching latest commit...
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is the popt command line option parsing library. While it is similiar to getopt(3), it contains a number of enhancements, including: 1) popt is fully reentrant 2) popt can parse arbitrary argv style arrays while getopt(2) makes this quite difficult 3) popt allows users to alias command line arguments 4) popt provides convience functions for parsting strings into argv style arrays popt is used by rpm, the Red Hat install program, and many other Red Hat utilities, all of which provide excellent examples of how to use popt. Complete documentation on popt is available in popt.ps (included in this tarball), which is excerpted with permission from the book "Linux Application Development" by Michael K. Johnson and Erik Troan (availble from Addison Wesley in May, 1998). Comments on popt should be addressed to firstname.lastname@example.org.