Fix help text on client cert/key options

This commit is contained in:
Kyle Havlovitz 2017-04-18 16:30:20 -07:00
parent 5b2afbb2d1
commit 29a4a42f17
No known key found for this signature in database
GPG Key ID: 8A5E6B173056AD6C
1 changed files with 2 additions and 2 deletions

View File

@ -101,10 +101,10 @@ func (c *Command) httpFlagsClient(f *flag.FlagSet) *flag.FlagSet {
"Path to a directory of CA certificates to use for TLS when communicating "+ "Path to a directory of CA certificates to use for TLS when communicating "+
"with Consul. This can also be specified via the CONSUL_CAPATH environment variable.") "with Consul. This can also be specified via the CONSUL_CAPATH environment variable.")
f.Var(&c.certFile, "client-cert", f.Var(&c.certFile, "client-cert",
"Path to a client cert file to use for TLS when `verify_incoming` is enabled. This "+ "Path to a client cert file to use for TLS when 'verify_incoming' is enabled. This "+
"can also be specified via the CONSUL_CLIENT_CERT environment variable.") "can also be specified via the CONSUL_CLIENT_CERT environment variable.")
f.Var(&c.keyFile, "client-key", f.Var(&c.keyFile, "client-key",
"Path to a client key file to use for TLS when `verify_incoming` is enabled. This "+ "Path to a client key file to use for TLS when 'verify_incoming' is enabled. This "+
"can also be specified via the CONSUL_CLIENT_KEY environment variable.") "can also be specified via the CONSUL_CLIENT_KEY environment variable.")
f.Var(&c.httpAddr, "http-addr", f.Var(&c.httpAddr, "http-addr",
"The `address` and port of the Consul HTTP agent. The value can be an IP "+ "The `address` and port of the Consul HTTP agent. The value can be an IP "+