This commit is contained in:
@ -217,7 +217,9 @@ def create_acs_ctrl_node() -> CmdTreeNode:
|
||||
]
|
||||
info_strs = [getattr(Info, key) for key in dir(OpCodes) if not key.startswith("__")]
|
||||
combined_dict = dict(zip(op_code_strs, info_strs))
|
||||
acs_ctrl = CmdTreeNode("acs_ctrl", "ACS Controller")
|
||||
acs_ctrl = CmdTreeNode(
|
||||
"acs_ctrl", "ACS Controller", hide_children_which_are_leaves=True
|
||||
)
|
||||
for op_code, info in combined_dict.items():
|
||||
acs_ctrl.add_child(CmdTreeNode(op_code, info))
|
||||
return acs_ctrl
|
||||
|
Reference in New Issue
Block a user