summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-04 22:31:15 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-05 10:10:10 +0100
commitee697d84ba2a83b196bd3b927a0b6047464f5292 (patch)
treebf753cffbadc8126d7f71994698926d23a52bb65 /scripts/lib
parent0c5fd7ad168ac49023f6f3e1e6cfa8489b511756 (diff)
downloadpoky-ee697d84ba2a83b196bd3b927a0b6047464f5292.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. (From OE-Core rev: 43476d77a91d50454ca26e016a3413b24e9f3aec) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-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):
74 if args.fetchuri: 74 if args.fetchuri:
75 raise DevtoolError('URI specified as positional argument as well as -f/--fetch') 75 raise DevtoolError('URI specified as positional argument as well as -f/--fetch')
76 else: 76 else:
77 # FIXME should show a warning that -f/--fetch is deprecated here 77 logger.warn('-f/--fetch option is deprecated - you can now simply specify the URL to fetch as a positional argument instead')
78 args.fetchuri = args.fetch 78 args.fetchuri = args.fetch
79 79
80 if args.recipename: 80 if args.recipename: