rpm/popt
jbj b325535ff1 split python bindings into a separate sub-package of rpm.
CVS patchset: 3497
CVS date: 1999/12/24 14:54:34
1999-12-24 14:54:34 +00:00
..
intl Create. 1999-09-29 21:22:24 +00:00
po Sanity (make dist). 1999-12-22 21:31:39 +00:00
.cvsignore fix: long options like "--long=val" needed longArg reset to NULL at top of 1999-10-22 18:10:51 +00:00
.lclintrc lclint annotations. 1999-10-21 18:48:00 +00:00
CHANGES *** empty log message *** 1999-09-04 19:38:05 +00:00
COPYING added proper licensing info 1998-10-16 19:05:12 +00:00
Makefile.am Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00
README *** empty log message *** 1998-03-23 20:52:17 +00:00
acconfig.h Add intl so popt no longer requires gettext. 1999-09-29 21:12:45 +00:00
autogen.sh Add intl so popt no longer requires gettext. 1999-09-29 21:12:45 +00:00
configure.in split python bindings into a separate sub-package of rpm. 1999-12-24 14:54:34 +00:00
findme.c Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00
findme.h popt: heavy dose of const. 1999-07-27 22:05:43 +00:00
install-sh *** empty log message *** 1998-03-23 20:26:36 +00:00
missing add required files to popt. 1998-10-08 14:23:53 +00:00
mkinstalldirs add required files to popt. 1998-10-08 14:23:53 +00:00
popt.3 use compressed filenames on install side. 1999-10-27 23:18:10 +00:00
popt.c From: Dick Porter <dick@acm.org> -- 1999-11-18 17:10:15 +00:00
popt.h From: Dick Porter <dick@acm.org> -- 1999-11-18 17:10:15 +00:00
popt.ps *** empty log message *** 1998-03-23 20:26:36 +00:00
popt.spec split python bindings into a separate sub-package of rpm. 1999-12-24 14:54:34 +00:00
poptconfig.c check for memory leaks (almost all leaks are plugged). 1999-10-29 16:06:01 +00:00
popthelp.c Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00
poptint.h From: Dick Porter <dick@acm.org> -- 1999-11-18 17:10:15 +00:00
poptparse.c duplicate popt routine so that librpm.so needs not libpopt.so. 1999-12-22 21:30:28 +00:00
system.h Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00
test-poptrc Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00
test1.c use compressed filenames on install side. 1999-10-27 23:18:10 +00:00
test2.c use compressed filenames on install side. 1999-10-27 23:18:10 +00:00
testit.sh Add !#:+ token parsing to retrieve (and delete) next argument from list. 1999-10-25 18:22:19 +00:00

README

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 ewt@redhat.com.