diff --git a/bench-tps/src/cli.rs b/bench-tps/src/cli.rs index 5950fae41..82b83bc12 100644 --- a/bench-tps/src/cli.rs +++ b/bench-tps/src/cli.rs @@ -242,7 +242,8 @@ pub fn build_args<'a>(version: &'_ str) -> App<'a, '_> { ) .arg( Arg::with_name("tx_count") - .long("tx_count") + .long("tx-count") + .alias("tx_count") .value_name("NUM") .takes_value(true) .help("Number of transactions to send per batch") diff --git a/multinode-demo/bench-tps.sh b/multinode-demo/bench-tps.sh index 40af0d27d..fadea483b 100755 --- a/multinode-demo/bench-tps.sh +++ b/multinode-demo/bench-tps.sh @@ -23,7 +23,7 @@ args=("$@") default_arg --entrypoint "127.0.0.1:8001" default_arg --faucet "127.0.0.1:9900" default_arg --duration 90 -default_arg --tx_count 50000 +default_arg --tx-count 50000 default_arg --thread-batch-sleep-ms 0 $solana_bench_tps "${args[@]}"