popt

getopt(3)-like library with a number of enhancements

WWW CVSWeb GITHub
  1. Package version
    popt-1.16p2
  2. Maintainer
    The OpenBSD ports mailing-list

This is the popt 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(2) 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

  • devel/gmake