From e8336b15391bf24cc5afbf0143a781bfde14f212 Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Tue, 11 Aug 2026 11:25:24 -0600 Subject: [PATCH] fix(cli): move EXPERIMENTAL label from ls command to --output flag The EXPERIMENTAL prefix was on the ls subcommand itself, making turbo --help show the whole command as experimental. The docs at turborepo.dev only mark the --output flag as experimental, not the command. Move the annotation to --output to match the documented intent. Update the two help snapshots accordingly. Closes #13700 Co-authored-by: okxint --- crates/turborepo-lib/src/cli/args.rs | 4 ++-- .../snapshots/turborepo_lib__cli__test__turbo_long_help.snap | 2 +- .../snapshots/turborepo_lib__cli__test__turbo_short_help.snap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/turborepo-lib/src/cli/args.rs b/crates/turborepo-lib/src/cli/args.rs index 6741d2331836a..34f7438031fb5 100644 --- a/crates/turborepo-lib/src/cli/args.rs +++ b/crates/turborepo-lib/src/cli/args.rs @@ -638,7 +638,7 @@ pub enum Command { Scan, #[clap(hide = true)] Config, - /// EXPERIMENTAL: List packages in your monorepo. + /// List packages in your monorepo. Ls { /// Show only packages that are affected by changes between /// the current branch and `main` @@ -653,7 +653,7 @@ pub enum Command { /// Get insight into a specific package, such as /// its dependencies and tasks packages: Vec, - /// Output format + /// EXPERIMENTAL: Output format #[clap(long, value_enum)] output: Option, }, diff --git a/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_long_help.snap b/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_long_help.snap index 86a44c6216d96..1c8def614c4b3 100644 --- a/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_long_help.snap +++ b/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_long_help.snap @@ -15,7 +15,7 @@ Commands: docs Search the Turborepo documentation generate Generate a new app / package telemetry Enable or disable anonymous telemetry - ls EXPERIMENTAL: List packages in your monorepo + ls List packages in your monorepo link Link your local directory to a Vercel organization and enable remote caching login Login to your Vercel account logout Logout to your Vercel account diff --git a/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_short_help.snap b/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_short_help.snap index 2e0b682be61c1..55e9288c3c5fc 100644 --- a/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_short_help.snap +++ b/crates/turborepo-lib/src/cli/snapshots/turborepo_lib__cli__test__turbo_short_help.snap @@ -15,7 +15,7 @@ Commands: docs Search the Turborepo documentation generate Generate a new app / package telemetry Enable or disable anonymous telemetry - ls EXPERIMENTAL: List packages in your monorepo + ls List packages in your monorepo link Link your local directory to a Vercel organization and enable remote caching login Login to your Vercel account logout Logout to your Vercel account