diff --git a/benchmarks/rust/src/main.rs b/benchmarks/rust/src/main.rs index 9e9b09fb67..f08dc6f251 100644 --- a/benchmarks/rust/src/main.rs +++ b/benchmarks/rust/src/main.rs @@ -17,25 +17,25 @@ use stopwatch::Stopwatch; #[derive(Parser, Debug)] #[command(author, version, about, long_about = None)] struct Args { - #[arg(name = "resultsFile", short, long)] + #[arg(name = "resultsFile", long)] results_file: String, - #[arg(short, long)] + #[arg(long)] host: String, - #[arg(name = "dataSize", short, long)] + #[arg(name = "dataSize", long)] data_size: usize, - #[arg(name = "concurrentTasks", short, long)] + #[arg(name = "concurrentTasks", long)] concurrent_tasks: Vec, - #[arg(name = "clientCount", short, long, default_value_t = 1)] + #[arg(name = "clientCount", long, default_value_t = 1)] client_count: usize, - #[arg(short, long, default_value_t = false)] + #[arg(long, default_value_t = false)] tls: bool, - #[arg(name = "clusterModeEnabled", short, long, default_value_t = false)] + #[arg(name = "clusterModeEnabled", long, default_value_t = false)] cluster_mode_enabled: bool, #[arg(name = "port", short, long, default_value_t = PORT)]