Fix typos (#19448)
This commit is contained in:
@ -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())
|
||||||
|
Reference in New Issue
Block a user