Skip to content

Commit

Permalink
Update solana deploy subcommand to warn non-upgradable (#27264)
Browse files Browse the repository at this point in the history
Update subcommand text to warn deploy deprecated

Update the about text for `solana deploy` to warn this is only for non-upgradeable deploys. Fixes #27228

(cherry picked from commit 65070df)
  • Loading branch information
coudron authored and mergify[bot] committed Aug 22, 2022
1 parent 8d15827 commit b351a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl ProgramSubCommands for App<'_, '_> {
)
.subcommand(
SubCommand::with_name("deploy")
.about("Deploy a program")
.about("Deploy an upgradeable program")
.arg(
Arg::with_name("program_location")
.index(1)
Expand Down Expand Up @@ -391,7 +391,7 @@ impl ProgramSubCommands for App<'_, '_> {
)
.subcommand(
SubCommand::with_name("deploy")
.about("Deploy a program")
.about("Deploy a non-upgradeable program. Use `solana program deploy` instead to deploy upgradeable programs")
.setting(AppSettings::Hidden)
.arg(
Arg::with_name("program_location")
Expand Down

0 comments on commit b351a64

Please sign in to comment.