Skip to content

Commit

Permalink
Accept TLS as a flag
Browse files Browse the repository at this point in the history
Signed-off-by: acarbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Oct 11, 2023
1 parent 951aa8b commit d00a655
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ private static RunConfiguration verifyOptions(CommandLine line) throws ParseExce
runConfiguration.dataSize = parseIntListOption(line.getOptionValue("dataSize"));
}

if (line.hasOption("tls")) {
runConfiguration.tls = Boolean.parseBoolean(line.getOptionValue("tls"));
}
runConfiguration.tls = line.hasOption("tls");

return runConfiguration;
}
Expand Down

0 comments on commit d00a655

Please sign in to comment.