From 7db92e2951e107d912a60b814144a20a7e9feffd Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 24 Feb 2020 10:20:31 -0700 Subject: [PATCH] Drop print- prefix from slot/accounts command (cherry picked from commit 89baa94002d55531637638a73181e6c1ac61f442) --- ledger-tool/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index 712f6a14c3..bbece4dc94 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -604,7 +604,7 @@ fn main() { .arg(&starting_slot_arg) ) .subcommand( - SubCommand::with_name("print-slot") + SubCommand::with_name("slot") .about("Print the contents of one or more slots") .arg( Arg::with_name("slots") @@ -697,7 +697,7 @@ fn main() { .help("Output directory for the snapshot"), ) ).subcommand( - SubCommand::with_name("print-accounts") + SubCommand::with_name("accounts") .about("Print account contents after processing in the ledger") .arg(&no_snapshot_arg) .arg(&account_paths_arg) @@ -800,7 +800,7 @@ fn main() { } } } - ("print-slot", Some(arg_matches)) => { + ("slot", Some(arg_matches)) => { let slots = values_t_or_exit!(arg_matches, "slots", Slot); for slot in slots { println!("Slot {}", slot); @@ -949,7 +949,7 @@ fn main() { } } } - ("print-accounts", Some(arg_matches)) => { + ("accounts", Some(arg_matches)) => { let dev_halt_at_slot = value_t!(arg_matches, "halt_at_slot", Slot).ok(); let process_options = ProcessOptions { dev_halt_at_slot,