Binary package “gengetopt” in ubuntu noble

skeleton main.c generator

 gengetopt reads an interface description file, and writes a file containing
 a command-line parser function. gengetopt supports: long and short options,
 11 types of parameters (including flag, int, double, string, and function
 call), and a usage message.