diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-04 04:28:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-04 04:28:28 +0000 |
commit | be4153d2a84b83c7ff70156203746a7e6907e42e (patch) | |
tree | 5015227ad7ba86361152f99be07201042b2eee12 /src | |
parent | 630b771f1b9e264af678554890bcec558a154b2a (diff) | |
download | coreutils-be4153d2a84b83c7ff70156203746a7e6907e42e.tar.xz |
(main): Remove dead code that used to print --version output.
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 \ |