From cd6c93774affaf834234c94f7a8b3ffbfe33d610 Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Wed, 8 Jan 2020 16:33:30 -0500 Subject: [PATCH] Update docs to reflect current behavior --- command/graph.go | 5 ++--- website/docs/commands/graph.html.markdown | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) 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