diff options
Diffstat (limited to 'scripts/recipetool')
-rwxr-xr-x | scripts/recipetool | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/recipetool b/scripts/recipetool index 4af0bfb686..791a66aaca 100755 --- a/scripts/recipetool +++ b/scripts/recipetool @@ -82,7 +82,11 @@ def main(): registered = False for plugin in plugins: - if hasattr(plugin, 'register_command'): + if hasattr(plugin, 'register_commands'): + registered = True + plugin.register_commands(subparsers) + elif hasattr(plugin, 'register_command'): + # Legacy function name registered = True plugin.register_command(subparsers) if hasattr(plugin, 'tinfoil_init'): |