mirror of https://github.com/grpc/grpc-java.git
update usage printout for trustCertCollectionFilePath is not optional
This commit is contained in:
parent
783bda8ac3
commit
2dd6d87f64
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue