command: allow -no-color option on "providers" command
This commit is contained in:
parent
82f5f50fe7
commit
2dfc3a399d
|
@ -27,7 +27,10 @@ func (c *ProvidersCommand) Synopsis() string {
|
|||
}
|
||||
|
||||
func (c *ProvidersCommand) Run(args []string) int {
|
||||
c.Meta.process(args, false)
|
||||
args, err := c.Meta.process(args, false)
|
||||
if err != nil {
|
||||
return 1
|
||||
}
|
||||
|
||||
cmdFlags := c.Meta.defaultFlagSet("providers")
|
||||
cmdFlags.Usage = func() { c.Ui.Error(c.Help()) }
|
||||
|
|
Loading…
Reference in New Issue