summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-10-23 15:32:01 +0000
committerJim Meyering <jim@meyering.net>1999-10-23 15:32:01 +0000
commit6d1aa48746350c227c515d12c06f08e623e9a9b3 (patch)
tree149884c8c2a413ab669fa0c43d0a86133b530aac /src
parent02ba1920dd9fcb09b5934a0a9cde1f6b416ba942 (diff)
downloadcoreutils-6d1aa48746350c227c515d12c06f08e623e9a9b3.tar.xz
label use of -V/--versin-control as a warning
Diffstat (limited to 'src')
-rw-r--r--src/cp.c5
-rw-r--r--src/mv.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/cp.c b/src/cp.c
index f843e3862..7b95cd6eb 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -691,7 +691,10 @@ main (int argc, char **argv)
break;
case 'V': /* FIXME: this is deprecated. Remove it in 2001. */
- error (0, 0, _("obsolete option name replaced by --backup"));
+ 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':
diff --git a/src/mv.c b/src/mv.c
index 877fbcd92..825455f8c 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -400,7 +400,10 @@ main (int argc, char **argv)
break;
case 'V': /* FIXME: this is deprecated. Remove it in 2001. */
- error (0, 0, _("obsolete option name replaced by --backup"));
+ 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':