This commit is contained in:
Tyera Eulberg
2021-08-26 13:05:05 -06:00
committed by GitHub
parent 535de3b302
commit 7c7640b462

View File

@ -294,7 +294,7 @@ impl ProgramSubCommands for App<'_, '_> {
.conflicts_with("account") .conflicts_with("account")
.conflicts_with("buffers") .conflicts_with("buffers")
.required_unless_one(&["account", "buffers"]) .required_unless_one(&["account", "buffers"])
.help("Show every upgradebale program that matches the authority") .help("Show every upgradeable program that matches the authority")
) )
.arg( .arg(
Arg::with_name("buffers") Arg::with_name("buffers")
@ -1368,7 +1368,7 @@ fn process_show(
})) }))
} else { } else {
Err(format!( Err(format!(
"{} is not an upgradeble loader Buffer or Program account", "{} is not an upgradeable loader Buffer or Program account",
account_pubkey account_pubkey
) )
.into()) .into())
@ -1439,7 +1439,7 @@ fn process_dump(
Ok(format!("Wrote program to {}", output_location)) Ok(format!("Wrote program to {}", output_location))
} else { } else {
Err(format!( Err(format!(
"{} is not an upgradeble loader buffer or program account", "{} is not an upgradeable loader buffer or program account",
account_pubkey account_pubkey
) )
.into()) .into())