diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-19 05:55:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 19:55:50 +0000 |
commit | 5057f58145ab47276fdc4392619888e37aea8864 (patch) | |
tree | dbcc9551eaffee6f1a7c8891977e0c36f1e67343 /cli/args/flags.rs | |
parent | a1d0a427e807959666a6b23ae015e4e04659abf5 (diff) |
feat: suggest `deno install --entrypoint` instead of `deno cache` (#25228)
Hides `deno cache` from `--help` output.
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/args/flags.rs')
-rw-r--r-- | cli/args/flags.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs index d66ee253f..79ee38d75 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1651,7 +1651,8 @@ Future runs of this module will trigger no downloads or compilation unless --rel <y>Read more:</> <c>https://docs.deno.com/go/cache</>"), UnstableArgsConfig::ResolutionOnly, - ) +) + .hide(true) .defer(|cmd| { compile_args(cmd) .arg(check_arg(false)) |