From 08db0eb5ce71aa33fd32f8132ae18a0414f48bff Mon Sep 17 00:00:00 2001 From: rithu john Date: Fri, 3 Mar 2017 13:00:15 -0800 Subject: [PATCH] examples/grpc-client: minor corrections in the dex client example. --- examples/grpc-client/README.md | 2 +- examples/grpc-client/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/grpc-client/README.md b/examples/grpc-client/README.md index 0c1f82c1..bd39219b 100644 --- a/examples/grpc-client/README.md +++ b/examples/grpc-client/README.md @@ -55,7 +55,7 @@ Running the gRPC client will cause the following API calls to be made to the ser Run the following command to destroy all the credentials files that were created by the `cert-gen` script: ``` -./examples/grpc-client/cert-destory +./examples/grpc-client/cert-destroy ``` [api-proto]: ../../api/api.proto [client]: client.go diff --git a/examples/grpc-client/client.go b/examples/grpc-client/client.go index 073f1fb1..06ea97fa 100644 --- a/examples/grpc-client/client.go +++ b/examples/grpc-client/client.go @@ -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= -client_crt= -client_key=") + log.Fatal("Please provide CA & client certificates and client key. Usage: ./client --ca-crt= --client-crt= --client-key=") } client, err := newDexClient("127.0.0.1:5557", *caCrt, *clientCrt, *clientKey)