[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] Re: Argpifying ping.
From: |
Simon Josefsson |
Subject: |
[bug-inetutils] Re: Argpifying ping. |
Date: |
Thu, 05 Apr 2007 13:38:42 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
"Debarshi 'Rishi' Ray" <address@hidden> 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
- Re: [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/04
- Re: [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/04
- [bug-inetutils] Re: Argpifying ping.,
Simon Josefsson <=
- [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/05
- Re: [bug-inetutils] Re: Argpifying ping., Alfred M. Szmidt, 2007/04/05
- Re: [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/05
- Re: [bug-inetutils] Re: Argpifying ping., Alfred M. Szmidt, 2007/04/05
- Re: [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/08
- Re: [bug-inetutils] Re: Argpifying ping., Alfred M. Szmidt, 2007/04/09
- Re: [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/11
- Re: [bug-inetutils] Re: Argpifying ping., Alfred M. Szmidt, 2007/04/12
- Re: [bug-inetutils] Re: Argpifying ping., Debarshi 'Rishi' Ray, 2007/04/12
- [bug-inetutils] Re: Argpifying ping., Simon Josefsson, 2007/04/12