Skip to content

Commit c394fb8

Browse files
authored
cli: polish serve-web help (microsoft#191817)
Fixes microsoft#191601
1 parent 70b614d commit c394fb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/src/commands/args.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const VERSION: &str = concatcp!(NUMBER_IN_VERSION, " (commit ", COMMIT_IN_VERSIO
5252
#[clap(
5353
help_template = INTEGRATED_TEMPLATE,
5454
long_about = None,
55+
name = constants::APPLICATION_NAME,
5556
version = VERSION,
5657
)]
5758
pub struct IntegratedCli {
@@ -84,6 +85,7 @@ pub struct CliCore {
8485
help_template = STANDALONE_TEMPLATE,
8586
long_about = None,
8687
version = VERSION,
88+
name = constants::APPLICATION_NAME,
8789
)]
8890
pub struct StandaloneCli {
8991
#[clap(flatten)]
@@ -173,6 +175,7 @@ pub enum Commands {
173175
Version(VersionArgs),
174176

175177
/// Runs a local web version of VS Code.
178+
#[clap(about = concatcp!("Runs a local web version of ", constants::PRODUCT_NAME_LONG))]
176179
ServeWeb(ServeWebArgs),
177180

178181
/// Runs the control server on process stdin/stdout

0 commit comments

Comments
 (0)