OpenBSD ports

The devel/gengetopt port

gengetopt-2.22.6p4 – command line parser for c programs


gengetopt generates a C function that uses getopt_long function to parse
the command line options, to validate them and fill a struct.

gengetopt is perfect if you are too lazy to write all stuff required to
call getopt_long, and when you have a program and wish it took options.

Generated code works if you use GNU Autoconf or GNU Automake.

Only for arches
aarch64 aarch64 alpha alpha amd64 amd64 arm arm hppa hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sh sparc64 sparc64

Library dependencies

Build dependencies

Run dependencies