command/providers: Enable processing of meta-parameters

This will enable proper colouring of the output, like for other commands.
This commit is contained in:
Radek Simko 2017-06-10 11:49:57 +01:00
parent 86fbcfac83
commit ee30df3efd
No known key found for this signature in database
GPG Key ID: 6823F3DCCE01BB19
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ func (c *ProvidersCommand) Synopsis() string {
}
func (c *ProvidersCommand) Run(args []string) int {
c.Meta.process(args, false)
cmdFlags := c.Meta.flagSet("providers")
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }