|
From: | Debarshi 'Rishi' Ray |
Subject: | Re: [bug-inetutils] Re: Argpifying ping. |
Date: | Wed, 4 Apr 2007 22:26:59 +0530 |
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? Happy hacking, Debarshi -- GPG key ID: 63D4A5A7 Key server: pgp.mit.edu
[Prev in Thread] | Current Thread | [Next in Thread] |