From d2bc0cba5ca8a7220ffe1ef96acf856fe972ce7c Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Fri, 19 Feb 2016 22:38:49 +1300 Subject: 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 Signed-off-by: Richard Purdie --- scripts/lib/devtool/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib') 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)) -- cgit v1.2.3