Getgetopt' takes an easy-to-do description of options and generates a C function that uses the GNU getopt_long function to parse and validate the options. gengetopt is perfect if you don't want to write all the stuff required to call GNU getopt_long, or if you have a program and wish it took many options. The generated code works if you use autoconf or automake.
Comments