summaryrefslogtreecommitdiff
path: root/source3/popt/README
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2001-10-23 14:16:22 +0000
committerJim McDonough <jmcd@samba.org>2001-10-23 14:16:22 +0000
commitbe6edf50c4e76662cd80eab9d60182f2e4f02d24 (patch)
tree94b1de0f71446530fdbee48d46476b1742732897 /source3/popt/README
parentb0152aaea09a1d082ee90954cdc8512d22b8d8ae (diff)
downloadsamba-be6edf50c4e76662cd80eab9d60182f2e4f02d24.tar.gz
samba-be6edf50c4e76662cd80eab9d60182f2e4f02d24.tar.bz2
samba-be6edf50c4e76662cd80eab9d60182f2e4f02d24.zip
Add popt for parsing commandline options
(This used to be commit df34e11d84a6fe89dc6654eb10de0a49383e1dea)
Diffstat (limited to 'source3/popt/README')
-rw-r--r--source3/popt/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/popt/README b/source3/popt/README
new file mode 100644
index 0000000000..7fccc836ff
--- /dev/null
+++ b/source3/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 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.