diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-02-19 22:38:49 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:31:59 +0000 |
commit | d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c (patch) | |
tree | 0f2eb81501d314dd19e77c8a2e25f5d46eea13d4 /scripts/lib | |
parent | 227247dfebe6cdff67ba2c0976b59e3f9d34f7ea (diff) | |
download | openembedded-core-d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c.tar.gz openembedded-core-d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c.tar.bz2 openembedded-core-d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c.zip |
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>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
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)) |