"Debarshi 'Rishi' Ray" <[EMAIL PROTECTED]> writes: >> Argp also offers a 'argp_program_version_hook' which can be made to >> point to a function having the following signature: >> void print-version (FILE *stream, struct argp_state *state) >> > > We can have a wrapper function which called version-etc, with the > required arguments. > > What do you think?
Yes, I believe using a wrapper would be better, it avoids duplicating the gnulib version-etc information. Possibly, the wrapper function could even be provided by gnulib, to avoid duplicating the code for the wrapper function. /Simon _______________________________________________ bug-inetutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-inetutils
