This C program uses getopt_long function to interpret command line options.
With this tool, your program can now effortlessly handle a variety of options, such as "--input foo.c", "-o foo.o", "--no-tabs", "-i 100", and even wildcards such as "*.class". And don't worry about limiting your options to just long or short - both are supported by Gengetopt.
For those concerned about following coding standards, the GNU Coding Standards are suggested as a reference.
But Gengetopt doesn't stop there. In addition to parsing and validating command line options, it can also generate functions to save and read these options from a file. And as with all GNU software, Gengetopt is completely free to use.
Streamline your command line option parsing needs today with GNU Gengetopt.
Version 2.22.3: N/A