From: Jim Meyering Date: Sat, 23 Oct 1999 15:32:01 +0000 (+0000) Subject: label use of -V/--versin-control as a warning X-Git-Tag: FILEUTILS-4_0j-trial~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d1aa48746350c227c515d12c06f08e623e9a9b3;p=thirdparty%2Fcoreutils.git label use of -V/--versin-control as a warning --- diff --git a/src/cp.c b/src/cp.c index f843e3862b..7b95cd6eb5 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 877fbcd925..825455f8c6 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':