From 74f54dae781a1c30b10452b05500a2a8cac6bd80 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Jun 2005 09:15:23 +0000 Subject: Finally remove support for --version-control=S (-V). It was deprecated nearly 6 years ago and has been warning users to switch to --backup=S since fileutils-4.0j. --- src/mv.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/mv.c') diff --git a/src/mv.c b/src/mv.c index e9d3444df..490e57c06 100644 --- a/src/mv.c +++ b/src/mv.c @@ -83,7 +83,6 @@ static struct option const long_options[] = {"target-directory", required_argument, NULL, 't'}, {"update", no_argument, NULL, 'u'}, {"verbose", no_argument, NULL, 'v'}, - {"version-control", required_argument, NULL, 'V'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, {NULL, 0, NULL, 0} @@ -379,18 +378,11 @@ main (int argc, char **argv) we'll actually use backup_suffix_string. */ backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX"); - while ((c = getopt_long (argc, argv, "bfit:uvS:TV:", long_options, NULL)) + while ((c = getopt_long (argc, argv, "bfit:uvS:T", long_options, NULL)) != -1) { switch (c) { - case 'V': /* FIXME: this is deprecated. Remove it in 2001. */ - error (0, 0, - _("warning: --version-control (-V) is obsolete; support for\ - it\nwill be removed in some future release. Use --backup=%s instead." - ), optarg); - /* Fall through. */ - case 'b': make_backups = true; if (optarg) -- cgit v1.2.3-54-g00ecf