From 2dd6d87f64ef9985c2ea8ffe3945e29819946ece Mon Sep 17 00:00:00 2001 From: Chengyuan Zhang Date: Tue, 21 May 2019 15:51:03 -0700 Subject: [PATCH] update usage printout for trustCertCollectionFilePath is not optional --- .../io/grpc/examples/helloworldtls/HelloWorldClientTls.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example-tls/src/main/java/io/grpc/examples/helloworldtls/HelloWorldClientTls.java b/examples/example-tls/src/main/java/io/grpc/examples/helloworldtls/HelloWorldClientTls.java index 676075add7..4b8679e80b 100644 --- a/examples/example-tls/src/main/java/io/grpc/examples/helloworldtls/HelloWorldClientTls.java +++ b/examples/example-tls/src/main/java/io/grpc/examples/helloworldtls/HelloWorldClientTls.java @@ -102,7 +102,7 @@ public class HelloWorldClientTls { public static void main(String[] args) throws Exception { if (args.length < 2 || args.length == 4 || args.length > 5) { - System.out.println("USAGE: HelloWorldClientTls host port [trustCertCollectionFilePath] " + + System.out.println("USAGE: HelloWorldClientTls host port trustCertCollectionFilePath " + "[clientCertChainFilePath clientPrivateKeyFilePath]\n Note: clientCertChainFilePath and " + "clientPrivateKeyFilePath are only needed if mutual auth is desired."); System.exit(0);