Skip to content

CIDCO-dev/getopt_port

 
 

Repository files navigation

getopt_port

Kim Grasman [email protected]

An original implementation of getopt and getopt_long with limited GNU extensions. Provided under the BSD license, to allow non-GPL projects to use getopt-style command-line parsing.

Built with Visual C++ and Clang on FreeBSD, but has no inherently non-portable constructs.

Intended to be embedded into your code tree -- getopt.h and getopt.c are self-contained and should work in any context.

Comes with a reasonable unit test suite.

See also:

For license terms, see LICENSE.txt.

About

BSD-licensed getopt implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 66.9%
  • C 31.7%
  • CMake 1.4%