examples/grpc-client: minor corrections in the dex client example.

This commit is contained in:
rithu john
2017-03-03 13:00:15 -08:00
parent 3e5480a859
commit 08db0eb5ce
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ func main() {
flag.Parse()
if *clientCrt == "" || *caCrt == "" || *clientKey == "" {
log.Fatal("Please provide CA & client certificates and client key. Usage: ./client -ca_crt=<path ca.crt> -client_crt=<path client.crt> -client_key=<path client key>")
log.Fatal("Please provide CA & client certificates and client key. Usage: ./client --ca-crt=<path ca.crt> --client-crt=<path client.crt> --client-key=<path client key>")
}
client, err := newDexClient("127.0.0.1:5557", *caCrt, *clientCrt, *clientKey)