summaryrefslogtreecommitdiff
path: root/src/ln.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-16 09:15:23 +0000
committerJim Meyering <jim@meyering.net>2005-06-16 09:15:23 +0000
commit74f54dae781a1c30b10452b05500a2a8cac6bd80 (patch)
tree389a6768ffaebf91c7560396fdf9832ed25f87c2 /src/ln.c
parent154e1cc93083c8c217287ee6f25e86f826b148d2 (diff)
downloadcoreutils-74f54dae781a1c30b10452b05500a2a8cac6bd80.tar.xz
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.
Diffstat (limited to 'src/ln.c')
-rw-r--r--src/ln.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ln.c b/src/ln.c
index 9f257e91f..13b0f7985 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -120,7 +120,6 @@ static struct option const long_options[] =
{"target-directory", required_argument, NULL, 't'},
{"symbolic", no_argument, NULL, 's'},
{"verbose", no_argument, NULL, 'v'},
- {"version-control", required_argument, NULL, 'V'}, /* Deprecated. FIXME. */
{GETOPT_HELP_OPTION_DECL},
{GETOPT_VERSION_OPTION_DECL},
{NULL, 0, NULL, 0}
@@ -420,18 +419,11 @@ main (int argc, char **argv)
symbolic_link = remove_existing_files = interactive = verbose
= hard_dir_link = false;
- while ((c = getopt_long (argc, argv, "bdfinst:vFS:TV:", long_options, NULL))
+ while ((c = getopt_long (argc, argv, "bdfinst:vFS: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)