1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/lib/popt
Andrew Tridgell e84ee4a6fd r18600: - fix shell syntax in tests for libraries
- add library test for libpopt
(This used to be commit 13878b7e7e)
2007-10-10 14:18:55 -05:00
..
CHANGES 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
libpopt.m4 r18600: - fix shell syntax in tests for libraries 2007-10-10 14:18:55 -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 r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar 2007-10-10 14:08:59 -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
samba.m4 r18326: these are not used anymore, I found the bug on *BSD 2007-10-10 14:18:09 -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.