Hi Akim, > What do you think of something like this?
Looks very nice. Now, can the aforementioned issue with the existing argmatch() interface be solved in the same way? > +#include <gettext.h> > +#include <stdbool.h> > +#include <string.h> /* memcmp */ These includes, IMO, belong in the argmatch.h file, not in each program that uses the ARGMATCH_DEFINE_GROUP macro. Also, for the use of 'static inline', you need an AC_REQUIRE([AC_C_INLINE]) in the module description. Bruno