From e02c62347dbc200b43f9a89a200fd712d8742fd3 Mon Sep 17 00:00:00 2001 From: Don Johnson Date: Sun, 14 Dec 2014 17:21:43 +0900 Subject: [PATCH] Usage info for graph command was actually that of output --- website/source/docs/commands/graph.html.markdown | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/website/source/docs/commands/graph.html.markdown b/website/source/docs/commands/graph.html.markdown index e0e17b9a6a..fe7adb1b36 100644 --- a/website/source/docs/commands/graph.html.markdown +++ b/website/source/docs/commands/graph.html.markdown @@ -16,12 +16,17 @@ The output is in the DOT format, which can be used by ## Usage -Usage: `terraform output [options] [input]` +Usage: `terraform graph [options] PATH` -By default, `output` scans the current directory for the configuration -and generates the output for that configuration. However, a path to -another configuration or an execution plan can be provided. Execution plans -provide more details on creation, deletion or changes. +Outputs the visual graph of Terraform resources. If the path given is +the path to a configuration, the dependency graph of the resources are +shown. If the path is a plan file, then the dependency graph of the +plan itself is shown. + +Options: + +* `-module-depth=n` - The maximum depth to expand modules. By default this is + zero, which will not expand modules at all. ## Generating Images