diff --git a/tobias/TOBIAS.py b/tobias/TOBIAS.py index b2fa07b..ec78985 100644 --- a/tobias/TOBIAS.py +++ b/tobias/TOBIAS.py @@ -122,7 +122,11 @@ def main(): #Add parser for old tool names if "replaces" in info[tool]: - all_tool_parsers[info[tool]["replaces"].lower()] = subparser + replace_tool = info[tool]["replaces"] + subparser = subparsers.add_parser(replace_tool, usage=SUPPRESS) + subparser = info[tool]["add_arguments"](subparser) + subparser.set_defaults(func=info[tool]["function"]) + all_tool_parsers[replace_tool.lower()] = subparser parser.description += "\n"