From c487a86b04dc1b638d204fa4f528fb0b832859ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 1 Oct 2024 14:05:21 +0100 Subject: [PATCH] fix: Hide 'deno cache' from help output (#25960) `deno cache` was soft-deprecated in favor of `deno install`. It should not show up in the help output. --- cli/args/flags.rs | 1 - tests/integration/flags_tests.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/cli/args/flags.rs b/cli/args/flags.rs index b4f566810cf214..25634f38444b31 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1176,7 +1176,6 @@ static DENO_HELP: &str = cstr!( Tooling: bench Run benchmarks deno bench bench.ts - cache Cache the dependencies check Type-check the dependencies clean Remove the cache directory compile Compile the script into a self contained executable diff --git a/tests/integration/flags_tests.rs b/tests/integration/flags_tests.rs index 160de3ec1d30b9..455507b9fad804 100644 --- a/tests/integration/flags_tests.rs +++ b/tests/integration/flags_tests.rs @@ -21,7 +21,6 @@ fn help_output() { "Install script as an executable", "Uninstall a script previously installed with deno install", "Run benchmarks", - "Cache the dependencies", "Type-check the dependencies", "Compile the script into a self contained executable", "Print coverage reports",