diff --git a/crates/vite_global_cli/src/cli.rs b/crates/vite_global_cli/src/cli.rs index 163c2ded7a..0ce8cce079 100644 --- a/crates/vite_global_cli/src/cli.rs +++ b/crates/vite_global_cli/src/cli.rs @@ -101,7 +101,7 @@ pub enum Commands { }, // ========================================================================= - // Category C: Local CLI Delegation (stubs for now) + // Category C: Local CLI Delegation (forwarded to the local vite-plus CLI) // ========================================================================= /// Run the development server #[command(disable_help_flag = true)] @@ -895,7 +895,7 @@ pub async fn run_command_with_options( Commands::Staged { args } => commands::staged::execute(cwd, &args).await, - // Category C: Local CLI Delegation (stubs) + // Category C: Local CLI Delegation (forwarded to the local vite-plus CLI) Commands::Dev { args } => { if help::maybe_print_unified_delegate_help("dev", &args, render_options.show_header) { return Ok(ExitStatus::default()); diff --git a/crates/vite_global_cli/src/help.rs b/crates/vite_global_cli/src/help.rs index e27f504de1..3937464fa0 100644 --- a/crates/vite_global_cli/src/help.rs +++ b/crates/vite_global_cli/src/help.rs @@ -826,7 +826,7 @@ fn delegated_help_doc(command: &str) -> Option { "Run tasks without dependency ordering (unlimited concurrency by default)", ), row("--last-details", "Display the detailed summary of the last run"), - row("-h, --help", "Print help (see more with '--help')"), + row("-h, --help", "Print help"), ], ), section_lines( @@ -874,7 +874,7 @@ fn delegated_help_doc(command: &str) -> Option { row("--reverse", "Reverse execution order"), row("--resume-from ", "Resume from a specific package"), row("--report-summary", "Save results to vp-exec-summary.json"), - row("-h, --help", "Print help (see more with '--help')"), + row("-h, --help", "Print help"), ], ), section_lines(