diff --git a/src/PluginUtils/_Tool.py b/src/PluginUtils/_Tool.py index 98f8b990e..d9498e5cc 100644 --- a/src/PluginUtils/_Tool.py +++ b/src/PluginUtils/_Tool.py @@ -259,7 +259,7 @@ def cli_tool(dbstate, name,category,tool_class, options_class, options_str_dict) # run tool try: - tool_class(dbstate,None, options_class, name,None) + tool_class(dbstate, None, clt.option_class, name, None) except: log.error("Failed to start tool.", exc_info=True)