Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 966 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 966 Bytes

getopt_port

Kim Gräsman
@kimgr

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.

So far only built with Visual C++, 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.