@ -30,6 +30,7 @@ func (c *InitCommand) Run(args []string) int {
cmdFlags . BoolVar ( & c . forceInitCopy , "force-copy" , false , "suppress prompts about copying state data" )
cmdFlags . BoolVar ( & c . Meta . stateLock , "lock" , true , "lock state" )
cmdFlags . DurationVar ( & c . Meta . stateLockTimeout , "lock-timeout" , 0 , "lock timeout" )
cmdFlags . BoolVar ( & c . reconfigure , "reconfigure" , false , "reconfigure" )
cmdFlags . Usage = func ( ) { c . Ui . Error ( c . Help ( ) ) }
if err := cmdFlags . Parse ( args ) ; err != nil {
@ -223,6 +224,10 @@ Options:
times . The backend type must be in the configuration
itself .
- force - copy Suppress prompts about copying state data . This is
equivalent to providing a "yes" to all confirmation
prompts .
- get = true Download any modules for this configuration .
- input = true Ask for input if necessary . If false , will error if
@ -234,9 +239,7 @@ Options:
- no - color If specified , output won ' t contain any color .
- force - copy Suppress prompts about copying state data . This is
equivalent to providing a "yes" to all confirmation
prompts .
- reconfigure Reconfigure the backend , ignoring any saved configuration .
`
return strings . TrimSpace ( helpText )
}