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?

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