From 487ee31b9e2504ad0208ce3b0f6a0c0f405a3605 Mon Sep 17 00:00:00 2001 From: Yuchen Zeng Date: Thu, 14 Dec 2017 14:57:38 -0800 Subject: [PATCH] Address review comments --- test/cpp/util/cli_credentials.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/cpp/util/cli_credentials.cc b/test/cpp/util/cli_credentials.cc index 7939186c307..aa4eafb7569 100644 --- a/test/cpp/util/cli_credentials.cc +++ b/test/cpp/util/cli_credentials.cc @@ -22,8 +22,9 @@ DEFINE_bool(enable_ssl, false, "Whether to use ssl/tls."); DEFINE_bool(use_auth, false, "Whether to create default google credentials."); -DEFINE_string(access_token, "", - "The access token in metadata \"authorization\"."); +DEFINE_string( + access_token, "", + "The access token that will be sent to the server to authenticate RPCs."); namespace grpc { namespace testing { @@ -32,9 +33,8 @@ std::shared_ptr CliCredentials::GetCredentials() const { if (!FLAGS_access_token.empty()) { if (FLAGS_use_auth) { - fprintf( - stderr, - "warning: use_auth is set to false when access_token is provided."); + fprintf(stderr, + "warning: use_auth is ignored when access_token is provided."); } return grpc::CompositeChannelCredentials(