command/apply: update usage

This commit is contained in:
Mitchell Hashimoto 2014-09-29 15:57:35 -07:00
parent 3572b8ff2f
commit 260c5301e6
1 changed files with 8 additions and 2 deletions

View File

@ -250,10 +250,16 @@ func (c *ApplyCommand) Run(args []string) int {
func (c *ApplyCommand) Help() string { func (c *ApplyCommand) Help() string {
helpText := ` helpText := `
Usage: terraform apply [options] [dir] Usage: terraform apply [options] [DIR]
Builds or changes infrastructure according to Terraform configuration Builds or changes infrastructure according to Terraform configuration
files . files in DIR.
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
directory is empty of Terraform files. This is a shortcut for getting
started.
Options: Options: