[Chilli] chilli configuration

David Bird david at coova.com
Thu Jan 28 06:11:42 UTC 2010


As you many know, chilli has used gengetopt [1] for it's command line
and configuration file parsing. It works well, but there are some
drawbacks. For one, the code generated isn't exactly the smallest it
could be. Also, it is very unforgiving with configurations where, for
instance, you used certain options twice. It is just a small change to
the generated cmdline.c to make chilli more "forgiving" if an option was
given more than once. So, I'm leaning toward NOT continuing to use
cmdline.ggo and gengetopt, and instead just taking the current cmdline.c
and making changes to it directly. (An alternative would be to keep
using gengetopt and then apply a patch every time to keep our changes,
or we can try to have all our desired changes put into the gengetopt
project somehow)... Thoughts?


[1] http://www.gnu.org/software/gengetopt/gengetopt.html

More information about the Chilli mailing list