command/providers: Enable processing of meta-parameters
This will enable proper colouring of the output, like for other commands.
This commit is contained in:
parent
86fbcfac83
commit
ee30df3efd
|
@ -24,6 +24,7 @@ func (c *ProvidersCommand) Synopsis() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ProvidersCommand) Run(args []string) int {
|
func (c *ProvidersCommand) Run(args []string) int {
|
||||||
|
c.Meta.process(args, false)
|
||||||
|
|
||||||
cmdFlags := c.Meta.flagSet("providers")
|
cmdFlags := c.Meta.flagSet("providers")
|
||||||
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
||||||
|
|
Loading…
Reference in New Issue