4109: Command line arguments for tools ignored

svn: r16835
This commit is contained in:
Michiel Nauta 2011-03-16 21:54:08 +00:00
parent 3f5cfe3187
commit 3a83db9095

View File

@ -261,7 +261,7 @@ def cli_tool(dbstate, name, category, tool_class, options_class, options_str_dic
# 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)