diff --git a/accounts-cluster-bench/src/main.rs b/accounts-cluster-bench/src/main.rs index 7ae9b3b49dad9b..ff8d4151b0206d 100644 --- a/accounts-cluster-bench/src/main.rs +++ b/accounts-cluster-bench/src/main.rs @@ -949,6 +949,9 @@ fn main() { .takes_value(true) .value_name("RPC_BENCH_TYPE(S)") .multiple(true) + .requires_ifs(&[ + ("token-accounts-by-owner", "mint"), + ]) .help("Spawn a thread which calls a specific RPC method in a loop to benchmark it"), ) .get_matches();