1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/source4/lib/popt
2007-10-10 13:23:06 -05:00
..
CHANGES r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
config.m4 r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
config.mk r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
COPYING first public release of samba4 code 2003-08-13 01:53:07 +00:00
findme.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
findme.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
popt.c r8470: looks like popt portability is going to be a bit of a fight :( 2007-10-10 13:23:06 -05:00
popt.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
poptconfig.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
popthelp.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
poptint.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
poptparse.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
README r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
system.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -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.