diff --git a/command/graph.go b/command/graph.go index af8a2556f..47c61b227 100644 --- a/command/graph.go +++ b/command/graph.go @@ -191,12 +191,11 @@ Options: -draw-cycles Highlight any cycles in the graph with colored edges. This helps when diagnosing cycle errors. - -module-depth=n Specifies the depth of modules to show in the output. - By default this is -1, which will expand all. - -type=plan Type of graph to output. Can be: plan, plan-destroy, apply, validate, input, refresh. + -module-depth=n (deprecated) In prior versions of Terraform, specified the + depth of modules to show in the output. ` return strings.TrimSpace(helpText) } diff --git a/website/docs/commands/graph.html.markdown b/website/docs/commands/graph.html.markdown index 2de101a03..56cb3fb5e 100644 --- a/website/docs/commands/graph.html.markdown +++ b/website/docs/commands/graph.html.markdown @@ -36,12 +36,12 @@ Options: * `-draw-cycles` - Highlight any cycles in the graph with colored edges. This helps when diagnosing cycle errors. -* `-module-depth=n` - Specifies the depth of modules to show in the output. - By default this is `-1`, which will expand all. - * `-type=plan` - Type of graph to output. Can be: `plan`, `plan-destroy`, `apply`, `validate`, `input`, `refresh`. +* `-module-depth=n` - (deprecated) In prior versions of Terraform, specified the + depth of modules to show in the output. + ## Generating Images The output of `terraform graph` is in the DOT format, which can