From b351a64519a791996497a1de4ebc807744df17ad Mon Sep 17 00:00:00 2001 From: Chris Coudron Date: Mon, 22 Aug 2022 06:56:10 -0400 Subject: [PATCH] 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 (cherry picked from commit 65070dfd2edcb7e94968896f56ff09395a12a000) --- cli/src/program.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/program.rs b/cli/src/program.rs index 1b3431968c9b81..cc4285e9e6b3df 100644 --- a/cli/src/program.rs +++ b/cli/src/program.rs @@ -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) @@ -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")