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)

The glibc manual (http://www.delorie.com/gnu/docs/glibc/libc_531.html)
further says: "This variable takes precedence over
argp_program_version, and is useful if a program has version
information not easily expressed in a simple string."

Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu


_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils

Reply via email to