]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
label use of -V/--versin-control as a warning
authorJim Meyering <jim@meyering.net>
Sat, 23 Oct 1999 15:32:01 +0000 (15:32 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 23 Oct 1999 15:32:01 +0000 (15:32 +0000)
src/cp.c
src/mv.c

index f843e3862b1bbff0617654daa079c3f476830f76..7b95cd6eb5e7b2ec979f76869180ca7bc761fa4c 100644 (file)
--- 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':
index 877fbcd925b157b04dc7322f10c912f9583d2a21..825455f8c61490fc217d95c5081ee1e4af2436dc 100644 (file)
--- 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':