kimgr/getopt_port

BSD-licensed getopt implementation

C++

97

59 commits

updated Mar 3, 2024

See the code

README

getopt_port

Kim Grasman kim.grasman@gmail.com

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.

Contributors

kimgr

57 commits

krzycz

1 commits

rapperskull

1 commits

kimgr/getopt_port

BSD-licensed getopt implementation

C++

97

59 commits

updated Mar 3, 2024

See the code

README

getopt_port

Kim Grasman kim.grasman@gmail.com

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.

Contributors

kimgr

57 commits

krzycz

1 commits

rapperskull

1 commits

Languages

C++

67.4%

C

31.2%

CMake

1.4%