1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/popt
Volker Lendecke e7952e9c14 r17347: Some C++ warnings -- 271 left
(This used to be commit 641dac4f85)
2007-10-10 11:38:27 -05:00
..
CHANGES r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05:00
COPYING Add popt for parsing commandline options 2001-10-23 14:16:22 +00:00
dummy.in Add popt for parsing commandline options 2001-10-23 14:16:22 +00:00
findme.c r17334: Some C++ warnings 2007-10-10 11:38:26 -05:00
findme.h r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05:00
popt.c r17347: Some C++ warnings -- 271 left 2007-10-10 11:38:27 -05:00
popt.h r15679: fix some popt warnings 2007-10-10 11:17:06 -05:00
poptconfig.c r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05:00
popthelp.c r15679: fix some popt warnings 2007-10-10 11:17:06 -05:00
poptint.h r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05:00
poptparse.c r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05:00
README r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05:00
system.h r15654: Update our internal copy of popt to that distributed with the RPM 4.2 2007-10-10 11:17:05 -05: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 parsing 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.