fix, use extended flags for terraform console
Allows -var and -var-file flags as expected
This commit is contained in:
parent
8d799ff8fc
commit
4ad7907b0c
|
@ -25,7 +25,7 @@ func (c *ConsoleCommand) Run(args []string) int {
|
|||
return 1
|
||||
}
|
||||
|
||||
cmdFlags := c.Meta.defaultFlagSet("console")
|
||||
cmdFlags := c.Meta.extendedFlagSet("console")
|
||||
cmdFlags.StringVar(&c.Meta.statePath, "state", DefaultStateFilename, "path")
|
||||
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
||||
if err := cmdFlags.Parse(args); err != nil {
|
||||
|
|
Loading…
Reference in New Issue