summaryrefslogtreecommitdiff
path: root/cli/args
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args')
-rw-r--r--cli/args/flags.rs3
-rw-r--r--cli/args/lockfile.rs2
2 files changed, 3 insertions, 2 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))
diff --git a/cli/args/lockfile.rs b/cli/args/lockfile.rs
index 35552b5b4..59ec7f0ef 100644
--- a/cli/args/lockfile.rs
+++ b/cli/args/lockfile.rs
@@ -246,7 +246,7 @@ impl CliLockfile {
// has an extra newline at the end
let diff = diff.trim_end();
Err(deno_core::anyhow::anyhow!(
- "The lockfile is out of date. Run `deno cache --frozen=false`, `deno install --frozen=false`, or rerun with `--frozen=false` to update it.\nchanges:\n{diff}"
+ "The lockfile is out of date. Run `deno install --frozen=false`, or rerun with `--frozen=false` to update it.\nchanges:\n{diff}"
))
} else {
Ok(())