cleanup cli arg help (#26366)
This commit is contained in:
parent
ce39c14025
commit
26176af4aa
|
@ -1002,10 +1002,10 @@ fn main() {
|
|||
.value_name("MEGABYTES")
|
||||
.validator(is_parsable::<usize>)
|
||||
.takes_value(true)
|
||||
.help("How much memory the accounts index can consume. If this is exceeded, some account index entries will be stored on disk. If missing, the entire index is stored in memory.");
|
||||
.help("How much memory the accounts index can consume. If this is exceeded, some account index entries will be stored on disk.");
|
||||
let disable_disk_index = Arg::with_name("disable_accounts_disk_index")
|
||||
.long("disable-accounts-disk-index")
|
||||
.help("Disable the disk-based accounts index if it is enabled by default.")
|
||||
.help("Disable the disk-based accounts index. It is enabled by default. The entire accounts index will be kept in memory.")
|
||||
.conflicts_with("accounts_index_memory_limit_mb");
|
||||
let accountsdb_skip_shrink = Arg::with_name("accounts_db_skip_shrink")
|
||||
.long("accounts-db-skip-shrink")
|
||||
|
|
|
@ -1654,7 +1654,7 @@ pub fn main() {
|
|||
.value_name("MEGABYTES")
|
||||
.validator(is_parsable::<usize>)
|
||||
.takes_value(true)
|
||||
.help("How much memory the accounts index can consume. If this is exceeded, some account index entries will be stored on disk. If missing, the entire index is stored in memory."),
|
||||
.help("How much memory the accounts index can consume. If this is exceeded, some account index entries will be stored on disk."),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("disable_accounts_disk_index")
|
||||
|
|
Loading…
Reference in New Issue