cli: Hides the filler accounts args (#34113)
This commit is contained in:
parent
b8b860fe88
commit
b4c652ef6c
|
@ -1140,7 +1140,8 @@ fn main() {
|
||||||
.validator(is_parsable::<usize>)
|
.validator(is_parsable::<usize>)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.default_value("0")
|
.default_value("0")
|
||||||
.help("How many accounts to add to stress the system. Accounts are ignored in operations related to correctness.");
|
.help("How many accounts to add to stress the system. Accounts are ignored in operations related to correctness.")
|
||||||
|
.hidden(hidden_unless_forced());
|
||||||
let accounts_filler_size = Arg::with_name("accounts_filler_size")
|
let accounts_filler_size = Arg::with_name("accounts_filler_size")
|
||||||
.long("accounts-filler-size")
|
.long("accounts-filler-size")
|
||||||
.value_name("BYTES")
|
.value_name("BYTES")
|
||||||
|
@ -1148,7 +1149,8 @@ fn main() {
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.default_value("0")
|
.default_value("0")
|
||||||
.requires("accounts_filler_count")
|
.requires("accounts_filler_count")
|
||||||
.help("Size per filler account in bytes.");
|
.help("Size per filler account in bytes.")
|
||||||
|
.hidden(hidden_unless_forced());
|
||||||
let account_paths_arg = Arg::with_name("account_paths")
|
let account_paths_arg = Arg::with_name("account_paths")
|
||||||
.long("accounts")
|
.long("accounts")
|
||||||
.value_name("PATHS")
|
.value_name("PATHS")
|
||||||
|
|
|
@ -1285,7 +1285,8 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
|
||||||
.validator(is_parsable::<usize>)
|
.validator(is_parsable::<usize>)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.default_value(&default_args.accounts_filler_count)
|
.default_value(&default_args.accounts_filler_count)
|
||||||
.help("How many accounts to add to stress the system. Accounts are ignored in operations related to correctness."))
|
.help("How many accounts to add to stress the system. Accounts are ignored in operations related to correctness.")
|
||||||
|
.hidden(hidden_unless_forced()))
|
||||||
.arg(Arg::with_name("accounts_filler_size")
|
.arg(Arg::with_name("accounts_filler_size")
|
||||||
.long("accounts-filler-size")
|
.long("accounts-filler-size")
|
||||||
.value_name("BYTES")
|
.value_name("BYTES")
|
||||||
|
@ -1293,7 +1294,8 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.default_value(&default_args.accounts_filler_size)
|
.default_value(&default_args.accounts_filler_size)
|
||||||
.requires("accounts_filler_count")
|
.requires("accounts_filler_count")
|
||||||
.help("Size per filler account in bytes."))
|
.help("Size per filler account in bytes.")
|
||||||
|
.hidden(hidden_unless_forced()))
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("accounts_db_test_hash_calculation")
|
Arg::with_name("accounts_db_test_hash_calculation")
|
||||||
.long("accounts-db-test-hash-calculation")
|
.long("accounts-db-test-hash-calculation")
|
||||||
|
|
Loading…
Reference in New Issue