Commited, thanks.
2007-07-21 Debarshi Ray <[EMAIL PROTECTED]>
* ftp/main.c: Include <argp.h>, and <string.h>. Remove include
for <getopt.h>. Include "libinetutils.h".
(program_name): Variable removed.
(usage): Function removed.
(ARGP_PROGRAM_DATA): Call macro.
(args_doc, doc, argp_options): New variables.
(parse_opt): New function.
(short_options, long_options): Variables removed.
(argp): New variable.
(main): Added new variable INDEX. Use EXIT_FAILURE and
EXIT_SUCCESS. Use argp to parse program options. Use
program_invocation_name instead of program_name.
* ftp/cmds.c (quit): Use EXIT_SUCCESS.
(shell): Use EXIT_FAILURE.
_______________________________________________
bug-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-inetutils