diff options
Diffstat (limited to 'test/cpp/util')
-rw-r--r-- | test/cpp/util/cli_credentials.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/cpp/util/cli_credentials.cc b/test/cpp/util/cli_credentials.cc index 7939186c30..aa4eafb756 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<grpc::ChannelCredentials> 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( |