fix, use extended flags for terraform console

Allows -var and -var-file flags as expected
This commit is contained in:
Jeff Bachtel 2019-07-19 12:34:12 -06:00
parent 8d799ff8fc
commit 4ad7907b0c
1 changed files with 1 additions and 1 deletions

View File

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