diff --git a/sshd-benchmarks/src/main/java/org/apache/sshd/benchmarks/RunBenchmarks.java b/sshd-benchmarks/src/main/java/org/apache/sshd/benchmarks/RunBenchmarks.java index dba3261f1..c8f6ff2f7 100644 --- a/sshd-benchmarks/src/main/java/org/apache/sshd/benchmarks/RunBenchmarks.java +++ b/sshd-benchmarks/src/main/java/org/apache/sshd/benchmarks/RunBenchmarks.java @@ -34,15 +34,15 @@ public final class RunBenchmarks { - @Option(name = "--run", aliases = "{ -r }", metaVar = "REGEX", + @Option(name = "--run", aliases = { "-r" }, metaVar = "REGEX", usage = "Tests to run. If not given, runs all SftpUploadBenchmarks.") private String include = "SftpUploadBenchmark"; - @Option(name = "--server", aliases = "{ -s }", metaVar = "USER@HOSTNAME:PORT", + @Option(name = "--server", aliases = { "-s" }, metaVar = "USER@HOSTNAME:PORT", usage = "Specifies the hostname to connect to. At least USER and HOSTNAME must be given. If absent, a local container will be used (and the docker engine must be running).") private String server; - @Option(name = "--identity", aliases = "{ -i }", metaVar = "PRIVATE_KEY_FILE", + @Option(name = "--identity", aliases = { "-i" }, metaVar = "PRIVATE_KEY_FILE", usage = "The SSH private key to connect to the host. Mandatory if --server is given; otherwise ignored. If it starts with ~/ or ~\\, the ~ is replaced by the user's home directory.") private String userKey;