|
|
|
|
@ -47,7 +47,7 @@ func (c *ApplyCommand) Run(args []string) int {
|
|
|
|
|
cmdFlags.StringVar(&c.Meta.statePath, "state", "", "path")
|
|
|
|
|
cmdFlags.StringVar(&c.Meta.stateOutPath, "state-out", "", "path")
|
|
|
|
|
cmdFlags.StringVar(&c.Meta.backupPath, "backup", "", "path")
|
|
|
|
|
cmdFlags.BoolVar(&c.Meta.stateLock, "state-lock", true, "lock state")
|
|
|
|
|
cmdFlags.BoolVar(&c.Meta.stateLock, "lock", true, "lock state")
|
|
|
|
|
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
|
|
|
|
if err := cmdFlags.Parse(args); err != nil {
|
|
|
|
|
return 1
|
|
|
|
|
@ -274,7 +274,7 @@ Options:
|
|
|
|
|
modifying. Defaults to the "-state-out" path with
|
|
|
|
|
".backup" extension. Set to "-" to disable backup.
|
|
|
|
|
|
|
|
|
|
-lock-state=true Lock the state file when locking is supported.
|
|
|
|
|
-lock=true Lock the state file when locking is supported.
|
|
|
|
|
|
|
|
|
|
-input=true Ask for input for variables if not directly set.
|
|
|
|
|
|
|
|
|
|
@ -323,7 +323,7 @@ Options:
|
|
|
|
|
|
|
|
|
|
-force Don't ask for input for destroy confirmation.
|
|
|
|
|
|
|
|
|
|
-lock-state=true Lock the state file when locking is supported.
|
|
|
|
|
-lock=true Lock the state file when locking is supported.
|
|
|
|
|
|
|
|
|
|
-no-color If specified, output won't contain any color.
|
|
|
|
|
|
|
|
|
|
|