gengetopt (devel/gengetopt) Updated: 3 years, 10 months ago Add to my watchlist
Generates a C function that uses getopt_long functionThis 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
Statistics for selected duration
2025-Nov-24 to 2025-Dec-24
| Total Installations | 9 |
|---|---|
| Requested Installations | 7 |
Loading Chart 
Loading Chart 
Loading Chart 
Loading Chart 
| Variants | Count |
|---|
Monthly Statistics
Can remain cached for up to 24 hours
Loading Chart
Percentage of installations per version per month
Loading Chart 