gengetopt (devel/gengetopt) Updated: 2 years, 2 months ago Add to my watchlist

Generates a C function that uses getopt_long function

This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct. Thus your program can now handle options such as: myprog --input foo.c -o foo.o --no-tabs -i 100 *.class And both long options (those that start with –) and short options (start with - and consist of only one character) can be handled. For standards about short and long options you may want to take a look at the GNU Coding Standards.

Version: 2.23 License: GPL-3+ GitHub
Maintainers waqar (GitHub handle not provided)
Categories devel
Homepage https://www.gnu.org/software/gengetopt/
Platforms darwin
Variants
  • universal (Build for multiple architectures)

"gengetopt" depends on

build (2)
extract (1)
xz

Ports that depend on "gengetopt"



Port Health:

Loading Port Health

Installations (30 days)

13

Requested Installations (30 days)

7