aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-04 06:10:11 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-04 22:30:06 +1300
commit141df9b8b5bf6fcb1778a268dff245802817138e (patch)
tree5d643950862058216f555b1abec6c7038537ee7f /scripts/lib/devtool/standard.py
parentb2b7d77e63ab7c3f8d9c0591c4e18080f86cff04 (diff)
downloadopenembedded-core-contrib-141df9b8b5bf6fcb1778a268dff245802817138e.tar.gz
devtool: add: display a warning for deprecated -f/--fetch option
We want to remove the -f/--fetch option at some point (as you can now specify a URL as a positional argument instead) so display a warning that it's deprecated if it is used. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r--scripts/lib/devtool/standard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index c8d7eb1b2b..02ed23574b 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -74,7 +74,7 @@ def add(args, config, basepath, workspace):
if args.fetchuri:
raise DevtoolError('URI specified as positional argument as well as -f/--fetch')
else:
- # FIXME should show a warning that -f/--fetch is deprecated here
+ logger.warn('-f/--fetch option is deprecated - you can now simply specify the URL to fetch as a positional argument instead')
args.fetchuri = args.fetch
if args.recipename: