A getopt(3) like library with a number of enhancements
popt is a command line parsing library. It contains a number of enhancements over getopt(3), including being fully reentrant, allowing users to alias command line arguments, providing convience functions for parsing strings into argv style arrays and popt can parse arbitrary argv style arrays.
popt is a command line parsing library. It contains a number of enhancements over getopt(3), including being fully reentrant, allowing users to alias command line arguments, providing convience functions for parsing strings into argv style arrays and popt can parse arbitrary argv style arrays.
To install popt, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install popt
To see what files were installed by popt, run:
port contents popt
To later upgrade popt, run:
sudo port selfupdate && sudo port upgrade popt
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.