Document saved plan use in `terraform apply -help` (#6126)

Wording borrowed from the website docs.
This commit is contained in:
David Glasser 2016-04-11 10:24:08 -07:00 committed by James Nugent
parent 3a2c40d027
commit b44f7f28e0
1 changed files with 6 additions and 1 deletions

View File

@ -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