From c394fb8959fcaf1f6e9831a0b2b19da7cd4e1286 Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Wed, 30 Aug 2023 10:02:48 -0700 Subject: [PATCH] cli: polish serve-web help (#191817) Fixes #191601 --- cli/src/commands/args.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/src/commands/args.rs b/cli/src/commands/args.rs index bfa1c6f2da4..cbc33fcb071 100644 --- a/cli/src/commands/args.rs +++ b/cli/src/commands/args.rs @@ -52,6 +52,7 @@ const VERSION: &str = concatcp!(NUMBER_IN_VERSION, " (commit ", COMMIT_IN_VERSIO #[clap( help_template = INTEGRATED_TEMPLATE, long_about = None, + name = constants::APPLICATION_NAME, version = VERSION, )] pub struct IntegratedCli { @@ -84,6 +85,7 @@ pub struct CliCore { help_template = STANDALONE_TEMPLATE, long_about = None, version = VERSION, + name = constants::APPLICATION_NAME, )] pub struct StandaloneCli { #[clap(flatten)] @@ -173,6 +175,7 @@ pub enum Commands { Version(VersionArgs), /// Runs a local web version of VS Code. + #[clap(about = concatcp!("Runs a local web version of ", constants::PRODUCT_NAME_LONG))] ServeWeb(ServeWebArgs), /// Runs the control server on process stdin/stdout