--help cleanup
This commit is contained in:
parent
9142a17bc2
commit
501696243f
|
@ -750,7 +750,7 @@ fn main() {
|
||||||
let bpf_jit_arg = Arg::with_name("bpf_jit")
|
let bpf_jit_arg = Arg::with_name("bpf_jit")
|
||||||
.long("bpf-jit")
|
.long("bpf-jit")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Process with JIT instead of interpreter.");
|
.help("Process with JIT instead of interpreter");
|
||||||
let no_accounts_db_caching_arg = Arg::with_name("no_accounts_db_caching")
|
let no_accounts_db_caching_arg = Arg::with_name("no_accounts_db_caching")
|
||||||
.long("no-accounts-db-caching")
|
.long("no-accounts-db-caching")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
|
@ -833,7 +833,7 @@ fn main() {
|
||||||
"point_in_time",
|
"point_in_time",
|
||||||
"skip_any_corrupted_record"])
|
"skip_any_corrupted_record"])
|
||||||
.help(
|
.help(
|
||||||
"Mode to recovery the ledger db write ahead log."
|
"Mode to recovery the ledger db write ahead log"
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
@ -851,7 +851,8 @@ fn main() {
|
||||||
.global(true)
|
.global(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.possible_values(&["json", "json-compact"])
|
.possible_values(&["json", "json-compact"])
|
||||||
.help("Return information in specified output format, currently only available for bigtable subcommands"),
|
.help("Return information in specified output format, \
|
||||||
|
currently only available for bigtable subcommands"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("verbose")
|
Arg::with_name("verbose")
|
||||||
|
@ -915,7 +916,7 @@ fn main() {
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("dead-slots")
|
SubCommand::with_name("dead-slots")
|
||||||
.arg(&starting_slot_arg)
|
.arg(&starting_slot_arg)
|
||||||
.about("Print all of dead slots")
|
.about("Print all the dead slots in the ledger")
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("set-dead-slot")
|
SubCommand::with_name("set-dead-slot")
|
||||||
|
@ -938,7 +939,8 @@ fn main() {
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("parse_full_frozen")
|
SubCommand::with_name("parse_full_frozen")
|
||||||
.about("Parses log for information about critical events about ancestors of the given `ending_slot`")
|
.about("Parses log for information about critical events about \
|
||||||
|
ancestors of the given `ending_slot`")
|
||||||
.arg(&starting_slot_arg)
|
.arg(&starting_slot_arg)
|
||||||
.arg(&ending_slot_arg)
|
.arg(&ending_slot_arg)
|
||||||
.arg(
|
.arg(
|
||||||
|
@ -995,7 +997,8 @@ fn main() {
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("bounds")
|
SubCommand::with_name("bounds")
|
||||||
.about("Print lowest and highest non-empty slots. Note that there may be empty slots within the bounds")
|
.about("Print lowest and highest non-empty slots. \
|
||||||
|
Note that there may be empty slots within the bounds")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("all")
|
Arg::with_name("all")
|
||||||
.long("all")
|
.long("all")
|
||||||
|
@ -1030,7 +1033,7 @@ fn main() {
|
||||||
Arg::with_name("print_accounts_stats")
|
Arg::with_name("print_accounts_stats")
|
||||||
.long("print-accounts-stats")
|
.long("print-accounts-stats")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("After verifying the ledger, print some information about the account stores."),
|
.help("After verifying the ledger, print some information about the account stores"),
|
||||||
)
|
)
|
||||||
).subcommand(
|
).subcommand(
|
||||||
SubCommand::with_name("graph")
|
SubCommand::with_name("graph")
|
||||||
|
@ -1166,7 +1169,7 @@ fn main() {
|
||||||
.required(false)
|
.required(false)
|
||||||
.long("remove-stake-accounts")
|
.long("remove-stake-accounts")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Remove all existing stake accounts from the new snapshot.")
|
.help("Remove all existing stake accounts from the new snapshot")
|
||||||
)
|
)
|
||||||
).subcommand(
|
).subcommand(
|
||||||
SubCommand::with_name("accounts")
|
SubCommand::with_name("accounts")
|
||||||
|
@ -1190,7 +1193,7 @@ fn main() {
|
||||||
.arg(&max_genesis_archive_unpacked_size_arg)
|
.arg(&max_genesis_archive_unpacked_size_arg)
|
||||||
).subcommand(
|
).subcommand(
|
||||||
SubCommand::with_name("capitalization")
|
SubCommand::with_name("capitalization")
|
||||||
.about("Print capitalization (aka, total suppy) while checksumming it")
|
.about("Print capitalization (aka, total supply) while checksumming it")
|
||||||
.arg(&no_snapshot_arg)
|
.arg(&no_snapshot_arg)
|
||||||
.arg(&account_paths_arg)
|
.arg(&account_paths_arg)
|
||||||
.arg(&halt_at_slot_arg)
|
.arg(&halt_at_slot_arg)
|
||||||
|
@ -1245,7 +1248,7 @@ fn main() {
|
||||||
)
|
)
|
||||||
).subcommand(
|
).subcommand(
|
||||||
SubCommand::with_name("purge")
|
SubCommand::with_name("purge")
|
||||||
.about("Delete a range of slots from the ledger.")
|
.about("Delete a range of slots from the ledger")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("start_slot")
|
Arg::with_name("start_slot")
|
||||||
.index(1)
|
.index(1)
|
||||||
|
@ -1258,7 +1261,8 @@ fn main() {
|
||||||
Arg::with_name("end_slot")
|
Arg::with_name("end_slot")
|
||||||
.index(2)
|
.index(2)
|
||||||
.value_name("SLOT")
|
.value_name("SLOT")
|
||||||
.help("Ending slot to stop purging (inclusive) [default: the highest slot in the ledger]"),
|
.help("Ending slot to stop purging (inclusive) \
|
||||||
|
[default: the highest slot in the ledger]"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("batch_size")
|
Arg::with_name("batch_size")
|
||||||
|
@ -1285,7 +1289,8 @@ fn main() {
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("list-roots")
|
SubCommand::with_name("list-roots")
|
||||||
.about("Output up to last <num-roots> root hashes and their heights starting at the given block height")
|
.about("Output up to last <num-roots> root hashes and their \
|
||||||
|
heights starting at the given block height")
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("max_height")
|
Arg::with_name("max_height")
|
||||||
.long("max-height")
|
.long("max-height")
|
||||||
|
@ -1306,7 +1311,8 @@ fn main() {
|
||||||
.value_name("FILENAME")
|
.value_name("FILENAME")
|
||||||
.required(false)
|
.required(false)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("The location of the output YAML file. A list of rollback slot heights and hashes will be written to the file.")
|
.help("The location of the output YAML file. A list of \
|
||||||
|
rollback slot heights and hashes will be written to the file")
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("num_roots")
|
Arg::with_name("num_roots")
|
||||||
|
@ -1320,7 +1326,8 @@ fn main() {
|
||||||
)
|
)
|
||||||
.subcommand(
|
.subcommand(
|
||||||
SubCommand::with_name("analyze-storage")
|
SubCommand::with_name("analyze-storage")
|
||||||
.about("Output statistics in JSON format about all column families in the ledger rocksDB")
|
.about("Output statistics in JSON format about \
|
||||||
|
all column families in the ledger rocksdb")
|
||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue