diff --git a/cli/args/flags.rs b/cli/args/flags.rs index cdeaa1b335682c..fbcaf9fb818303 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -4350,7 +4350,7 @@ impl CommandExt for Command { let mut cmd = self.arg( Arg::new("unstable") .long("unstable") - .help(cstr!("Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features + .help(cstr!("The `--unstable` flag has been removed in Deno 2.0. Use granular `--unstable-*` flags instead
To view the list of individual unstable feature flags, run this command again with --help=unstable>")) .action(ArgAction::SetTrue) .hide(matches!(cfg, UnstableArgsConfig::None)) diff --git a/tests/specs/bundle/removed/bundle_help.out b/tests/specs/bundle/removed/bundle_help.out index d8e83b95d5e450..954f37882ad671 100644 --- a/tests/specs/bundle/removed/bundle_help.out +++ b/tests/specs/bundle/removed/bundle_help.out @@ -6,5 +6,5 @@ Usage: deno bundle [OPTIONS] Options: -q, --quiet Suppress diagnostic output - --unstable Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features + --unstable The `--unstable` flag has been removed in Deno 2.0. Use granular `--unstable-*` flags instead To view the list of individual unstable feature flags, run this command again with --help=unstable diff --git a/tests/specs/vendor/removed/vendor_help.out b/tests/specs/vendor/removed/vendor_help.out index 176b2211af458b..e995d4209778bf 100644 --- a/tests/specs/vendor/removed/vendor_help.out +++ b/tests/specs/vendor/removed/vendor_help.out @@ -6,5 +6,5 @@ Usage: deno vendor [OPTIONS] Options: -q, --quiet Suppress diagnostic output - --unstable Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features + --unstable The `--unstable` flag has been removed in Deno 2.0. Use granular `--unstable-*` flags instead To view the list of individual unstable feature flags, run this command again with --help=unstable