From 7b94e521d947f175772dc75441b3d13009c9251d Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Thu, 21 Sep 2023 21:59:07 -0700 Subject: [PATCH] Fix Rust benchmark. Signed-off-by: Yury-Fridlyand --- benchmarks/rust/src/main.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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)]