summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-19 22:38:49 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-21 09:31:59 +0000
commitd2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c (patch)
tree0f2eb81501d314dd19e77c8a2e25f5d46eea13d4
parent227247dfebe6cdff67ba2c0976b59e3f9d34f7ea (diff)
downloadopenembedded-core-contrib-d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c.tar.gz
devtool: minor fix for error message
There is no -N/--name option for devtool, that's a recipetool option - with devtool you just specify the name as a positional argument. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 d12cc2e222..590dfef27e 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -150,7 +150,7 @@ def add(args, config, basepath, workspace):
stdout, _ = exec_build_env_command(config.init_path, basepath, 'recipetool --color=%s create -o %s "%s" %s' % (color, tempdir, source, extracmdopts))
except bb.process.ExecutionError as e:
if e.exitcode == 15:
- raise DevtoolError('Unable to auto-determine name from source tree, please specify it with -N/--name')
+ raise DevtoolError('Unable to auto-determine recipe name from source tree, please specify it on the command line')
else:
raise DevtoolError('Command \'%s\' failed:\n%s' % (e.command, e.stdout))