[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Using argp_failure.
From: |
Alfred M. Szmidt |
Subject: |
Re: [bug-inetutils] Using argp_failure. |
Date: |
Fri, 13 Apr 2007 04:55:23 +0200 (CEST) |
> Wouldn't it be better to use argp_error in those parts? Or do
> those actually do parsing?
No. According to the manual, argp_error is for handling parsing
errors, while argp_failure is for other things like illegal values,
etc.. In any case argp_error also needs the 'struct argp_state
*state' pointer.
Hm, What about using argp children? And changing for example
changeif.c into a argp child, the same for system/*. The manual
should have some examples, and documentation.
You sure did pick one of the most complex programs to work on...