diff --git a/command/agent/command.go b/command/agent/command.go index 902d1cbec76..eb5be1c35ae 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -134,6 +134,7 @@ func (c *Command) readConfig() *Config { cmdConfig.Consul.VerifySSL = &b return nil }), "consul-verify-ssl", "") + flags.StringVar(&cmdConfig.Consul.Addr, "consul-address", "", "") // Vault options flags.Var((flaghelper.FuncBoolVar)(func(b bool) error {