From b44f7f28e083e8030f0c682067bd395f938493d5 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Mon, 11 Apr 2016 10:24:08 -0700 Subject: [PATCH] Document saved plan use in `terraform apply -help` (#6126) Wording borrowed from the website docs. --- command/apply.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/command/apply.go b/command/apply.go index 62ed3dd9ab..f18865bdb1 100644 --- a/command/apply.go +++ b/command/apply.go @@ -276,11 +276,16 @@ func (c *ApplyCommand) Synopsis() string { func (c *ApplyCommand) helpApply() string { helpText := ` -Usage: terraform apply [options] [DIR] +Usage: terraform apply [options] [DIR-OR-PLAN] Builds or changes infrastructure according to Terraform configuration files in DIR. + By default, apply scans the current directory for the configuration + and applies the changes appropriately. However, a path to another + configuration or an execution plan can be provided. Execution plans can be + used to only execute a pre-determined set of actions. + DIR can also be a SOURCE as given to the "init" command. In this case, apply behaves as though "init" was called followed by "apply". This only works for sources that aren't files, and only if the current working