summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/args/flags.rs3
-rw-r--r--cli/args/lockfile.rs2
-rw-r--r--cli/lsp/language_server.rs2
3 files changed, 4 insertions, 3 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(())
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs
index 6626767dd..f8fffd292 100644
--- a/cli/lsp/language_server.rs
+++ b/cli/lsp/language_server.rs
@@ -240,7 +240,7 @@ impl LanguageServer {
}
}
- /// Similar to `deno cache` on the command line, where modules will be cached
+ /// Similar to `deno install --entrypoint` on the command line, where modules will be cached
/// in the Deno cache, including any of their dependencies.
pub async fn cache(
&self,