Fix soongdbg deps

Test: soongdbg deps framework-platform-compat-config
Change-Id: I8a49e0f4efbd0ef68d5ae7fb403166c046112322
This commit is contained in:
Joe Onorato
2024-02-09 14:39:45 -08:00
parent 12e2cf72df
commit b3ffad1992

View File

@@ -288,7 +288,7 @@ class DepsCommand:
graph = load_graph() graph = load_graph()
nodes = set() nodes = set()
err = False err = False
for id in sys.argv[3:]: for id in args.module:
root = graph.nodes.get(id) root = graph.nodes.get(id)
if not root: if not root:
sys.stderr.write(f"error: Can't find root: {id}\n") sys.stderr.write(f"error: Can't find root: {id}\n")
@@ -330,7 +330,6 @@ class JsonCommand:
print() print()
class QueryCommand: class QueryCommand:
help = "Query details about modules" help = "Query details about modules"