1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/lib/popt
2004-02-24 06:53:53 +00:00
..
CHANGES first public release of samba4 code 2003-08-13 01:53:07 +00:00
config.m4 move -lpopt replacement code from source/popt/* to source/lib/popt/* 2004-02-12 14:21:44 +00:00
COPYING first public release of samba4 code 2003-08-13 01:53:07 +00:00
dummy.in first public release of samba4 code 2003-08-13 01:53:07 +00:00
findme.c let the popt replacement stuff survive a make proto 2004-02-24 06:49:59 +00:00
findme.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
popt.c make proto should not catch any function of the lib/popt/*.c stuff 2004-02-24 06:53:53 +00:00
popt.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
poptconfig.c let the popt replacement stuff survive a make proto 2004-02-24 06:49:59 +00:00
popthelp.c let the popt replacement stuff survive a make proto 2004-02-24 06:49:59 +00:00
poptint.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
poptparse.c let the popt replacement stuff survive a make proto 2004-02-24 06:49:59 +00:00
README first public release of samba4 code 2003-08-13 01:53:07 +00:00
system.h first public release of samba4 code 2003-08-13 01:53:07 +00:00

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.