GNU's argp manual at http://www.gnu.org/software/libc/manual/html_node/Argp-Helper-Functions.html says:
"argp_failure is for other problems that occur during parsing but don't reflect a syntactic problem with the input, such as illegal values for options, bad phase of the moon, etc." In case of ping and ping6 it was quite easy to use argp_failure to handle all those cases of illegal values input as parameters. But in case of ifconfig everything is spread out in different files: printif.c changeif.c options.c. So that would require the sharing of 'struct argp_state *state' in all these files. To what extent do you think we should use argp_failure? Wouldn't it be better to use argp_error in those parts? Or do those actually do parsing? _______________________________________________ bug-inetutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-inetutils
