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