Skip to content

Commit

Permalink
RunBenchmarks: fix command line options
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaswolf committed Sep 10, 2024
1 parent a1a2d8f commit 01289ce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 01289ce

Please sign in to comment.