> I have replaced all those uses of 'fprintf (stderr, "...); exit
   > (1);" to handle some illegal value passed to an argument,
   > etc. with argp_failure to ensure uniformity in the erroring
   > reporting.

   Maybe we can 'error' from error.h instead of 'argp_failure' in
   those places where no argument parsing is taking place to announce
   non-parsing errors. This will remove the need for maintaining the
   'struct argp_state *state' too across in such cases.

   What do you think?

Yeah, lets do that for now.  Better to move forward, than stomp in the
same spot.  Switching from error() to argp_error/failure or some other
such thing would be quite trivial later one anyway.


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

Reply via email to