update usage printout for trustCertCollectionFilePath is not optional

This commit is contained in:
Chengyuan Zhang 2019-05-21 15:51:03 -07:00
parent 783bda8ac3
commit 2dd6d87f64
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class HelloWorldClientTls {
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
if (args.length < 2 || args.length == 4 || args.length > 5) { 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 " + "[clientCertChainFilePath clientPrivateKeyFilePath]\n Note: clientCertChainFilePath and " +
"clientPrivateKeyFilePath are only needed if mutual auth is desired."); "clientPrivateKeyFilePath are only needed if mutual auth is desired.");
System.exit(0); System.exit(0);