bench-tps: rename tx_count arg to tx-count for consistency (#31213)

This commit is contained in:
Andrew Fitzgerald 2023-04-17 10:59:39 -07:00 committed by GitHub
parent f066ea9f71
commit 843ff9e5d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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")

View File

@ -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[@]}"