summaryrefslogtreecommitdiff
path: root/popt/README
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-16 17:20:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-16 17:20:16 +0200
commitc8bff39df639c70afc94b1795c94629ee8b7b482 (patch)
tree6331eaa4d41b0b907b44d862697c9c5ea17eaaae /popt/README
parentec1c854f2175823bd1ad39c2e272d1b3fab80bf1 (diff)
downloadsamba-c8bff39df639c70afc94b1795c94629ee8b7b482.tar.gz
samba-c8bff39df639c70afc94b1795c94629ee8b7b482.tar.bz2
samba-c8bff39df639c70afc94b1795c94629ee8b7b482.zip
Use a single copy of popt in samba3 and samba4.
Diffstat (limited to 'popt/README')
-rw-r--r--popt/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/popt/README b/popt/README
new file mode 100644
index 0000000000..0b5205bfdd
--- /dev/null
+++ b/popt/README
@@ -0,0 +1,18 @@
+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.