From 6d1aa48746350c227c515d12c06f08e623e9a9b3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 23 Oct 1999 15:32:01 +0000 Subject: label use of -V/--versin-control as a warning --- src/cp.c | 5 ++++- src/mv.c | 5 ++++- 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': -- cgit v1.2.3-70-g09d2