path: root/scripts/lib/recipetool/
diff options
authorPaul Eggleton <>2015-11-23 08:55:45 +1300
committerRichard Purdie <>2015-12-01 21:32:05 +0000
commit0cc381029936f34da30a65122c6d952954e07178 (patch)
treec59ecc75425d7a497f94cacda79fa444e02d76e5 /scripts/lib/recipetool/
parentb381f804a541bb1d08e331c139a82e250f924c05 (diff)
recipetool: make plugin registration function name consistent with devtool
This should have been register_commands rather than register_command; I used register_commands in devtool so lets change this here to be consistent with that. (Since this is extensible through layers though we need to remain compatible with the old name, so fall back to that if the new function name isn't there.) (From OE-Core rev: 1047f6592ac81643cd847f104da766dc4a4c81ea) Signed-off-by: Paul Eggleton <> Signed-off-by: Ross Burton <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'scripts/lib/recipetool/')
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/ b/scripts/lib/recipetool/
index 18e3281b0e..657d2b6a7b 100644
--- a/scripts/lib/recipetool/
+++ b/scripts/lib/recipetool/
@@ -62,7 +62,7 @@ def setvar(args):
return 0
-def register_command(subparsers):
+def register_commands(subparsers):
parser_setvar = subparsers.add_parser('setvar',
help='Set a variable within a recipe',
description='Adds/updates the value a variable is set to in a recipe')