C library for parsing command line parameters
66
stars
667
commits
C
primary language
Sep 2, 2026
updated
This is the popt(3) command line option parsing library. While it is similar 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(3) makes this quite difficult 3) popt allows users to alias command line arguments 4) popt provides convenience functions for parsing strings into argv[] style arrays Complete documentation on popt(3) is available in popt.pdf (included in this tarball), which is excerpted with permission from the book "Linux Application Development" by Michael K. Johnson and Erik Troan (available from Addison Wesley in May, 1998). Bugs, feature requests and contributions can be submitted at https://github.com/rpm-software-management/popt or alternatively rpm-maint@lists.rpm.org.
Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.
C
77.0%
Roff
16.1%
Shell
4.2%
CMake
2.6%
C library for parsing command line parameters
66
stars
667
commits
C
primary language
Sep 2, 2026
updated
This is the popt(3) command line option parsing library. While it is similar 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(3) makes this quite difficult 3) popt allows users to alias command line arguments 4) popt provides convenience functions for parsing strings into argv[] style arrays Complete documentation on popt(3) is available in popt.pdf (included in this tarball), which is excerpted with permission from the book "Linux Application Development" by Michael K. Johnson and Erik Troan (available from Addison Wesley in May, 1998). Bugs, feature requests and contributions can be submitted at https://github.com/rpm-software-management/popt or alternatively rpm-maint@lists.rpm.org.
Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.
C
77.0%
Roff
16.1%
Shell
4.2%
CMake
2.6%