Update `solana deploy` subcommand to warn non-upgradable (#27264)

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
This commit is contained in:
Chris Coudron 2022-08-22 06:56:10 -04:00 committed by GitHub
parent f617374b0b
commit 65070dfd2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,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)
@ -403,7 +403,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")