summaryrefslogtreecommitdiff
path: root/lib/spack/spack/cmd/graph.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/cmd/graph.py')
-rw-r--r--lib/spack/spack/cmd/graph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/graph.py b/lib/spack/spack/cmd/graph.py
index 69c2833217..eeced40720 100644
--- a/lib/spack/spack/cmd/graph.py
+++ b/lib/spack/spack/cmd/graph.py
@@ -74,19 +74,19 @@ def graph(parser, args):
if args.static:
args.dot = True
- static_graph_dot(specs, deptype=args.deptype)
+ static_graph_dot(specs, depflag=args.deptype)
return
if args.dot:
builder = SimpleDAG()
if args.color:
builder = DAGWithDependencyTypes()
- graph_dot(specs, builder=builder, deptype=args.deptype)
+ graph_dot(specs, builder=builder, depflag=args.deptype)
return
# ascii is default: user doesn't need to provide it explicitly
debug = spack.config.get("config:debug")
- graph_ascii(specs[0], debug=debug, deptype=args.deptype)
+ graph_ascii(specs[0], debug=debug, depflag=args.deptype)
for spec in specs[1:]:
print() # extra line bt/w independent graphs
graph_ascii(spec, debug=debug)