Revision 15550,
855 bytes
checked in by ghudson, 24 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r15549,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | This is the popt command line option parsing library. While it is similiar |
---|
2 | to getopt(3), it contains a number of enhancements, including: |
---|
3 | |
---|
4 | 1) popt is fully reentrant |
---|
5 | 2) popt can parse arbitrary argv[] style arrays while |
---|
6 | getopt(2) makes this quite difficult |
---|
7 | 3) popt allows users to alias command line arguments |
---|
8 | 4) popt provides convience functions for parsting strings |
---|
9 | into argv[] style arrays |
---|
10 | |
---|
11 | popt is used by rpm, the Red Hat install program, and many other Red Hat |
---|
12 | utilities, all of which provide excellent examples of how to use popt. |
---|
13 | Complete documentation on popt is available in popt.ps (included in this |
---|
14 | tarball), which is excerpted with permission from the book "Linux |
---|
15 | Application Development" by Michael K. Johnson and Erik Troan (availble |
---|
16 | from Addison Wesley in May, 1998). |
---|
17 | |
---|
18 | Comments on popt should be addressed to ewt@redhat.com. |
---|
Note: See
TracBrowser
for help on using the repository browser.