(main): Remove dead code that used to print --version output.

This commit is contained in:
Jim Meyering
1996-10-04 04:28:28 +00:00
parent 630b771f1b
commit be4153d2a8
+1 -8
View File
@@ -445,7 +445,6 @@ main (int argc, char **argv)
{
unsigned char md5buffer[16];
int do_check = 0;
int do_version = 0;
int opt;
char **string = NULL;
size_t n_strings = 0;
@@ -462,7 +461,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
parse_long_options (argc, argv, "md5sum", PACKAGE_VERSION, usage);
parse_long_options (argc, argv, "md5sum", GNU_PACKAGE, VERSION, usage);
while ((opt = getopt_long (argc, argv, "bctw", long_options, NULL))
!= EOF)
@@ -503,12 +502,6 @@ main (int argc, char **argv)
usage (EXIT_FAILURE);
}
if (do_version)
{
printf ("md5sum (%s) %s\n", GNU_PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
if (file_type_specified && do_check)
{
error (0, 0, _("the --binary and --text options are meaningless when \