diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index fa4e09ef420914..1b7eba75d6c2a0 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -1121,7 +1121,8 @@ fn main() { .validator(is_parsable::) .takes_value(true) .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") .long("accounts-filler-size") .value_name("BYTES") @@ -1129,7 +1130,8 @@ fn main() { .takes_value(true) .default_value("0") .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") .long("accounts") .value_name("PATHS") diff --git a/validator/src/cli.rs b/validator/src/cli.rs index e2d89248e00f7f..7eb2aea11c25a6 100644 --- a/validator/src/cli.rs +++ b/validator/src/cli.rs @@ -1280,7 +1280,8 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> { .validator(is_parsable::) .takes_value(true) .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") .long("accounts-filler-size") .value_name("BYTES") @@ -1288,7 +1289,8 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> { .takes_value(true) .default_value(&default_args.accounts_filler_size) .requires("accounts_filler_count") - .help("Size per filler account in bytes.")) + .help("Size per filler account in bytes.") + .hidden(hidden_unless_forced())) .arg( Arg::with_name("accounts_db_test_hash_calculation") .long("accounts-db-test-hash-calculation")