diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/md5sum.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index 2be5bec37..81ed42479 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -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 \ |