Remove get-/show- prefix from cli commands

This commit is contained in:
Michael Vines
2020-01-20 23:06:47 -07:00
parent 80da552834
commit 356f246a74
22 changed files with 268 additions and 252 deletions

View File

@@ -455,8 +455,9 @@ impl StakeSubCommands for App<'_, '_> {
)
)
.subcommand(
SubCommand::with_name("show-stake-account")
SubCommand::with_name("stake-account")
.about("Show the contents of a stake account")
.alias("show-stake-account")
.arg(
Arg::with_name("stake_account_pubkey")
.index(1)
@@ -474,8 +475,9 @@ impl StakeSubCommands for App<'_, '_> {
)
)
.subcommand(
SubCommand::with_name("show-stake-history")
SubCommand::with_name("stake-history")
.about("Show the stake history")
.alias("show-stake-history")
.arg(
Arg::with_name("lamports")
.long("lamports")