summaryrefslogtreecommitdiff
path: root/cli/tools
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-08-19 00:39:53 +0200
committerGitHub <noreply@github.com>2024-08-18 15:39:53 -0700
commit9bc2dd29ad6ba334fd57a20114e367d3c04763d4 (patch)
tree4de8b2750eb7b56656a1f601339ca3172b168eb1 /cli/tools
parent1ec12a8c5dc95b88d136b1a8faa380be70ee7ced (diff)
fix: clean up flag help output (#24686)
Permission flags are unified in a clearer and concise output. Unstable flags are hidden by default with exception of the `unstable` flag itself. the remaining unstable flags can be seen with a `--help=unstable`. This also cleans up to show unstable flags only for subcommands that actually need them. Also sorts flags alphabetically, and gorups various flags together in a set of categories. --------- Co-authored-by: crowlkats <crowlkats@toaxl.com>
Diffstat (limited to 'cli/tools')
-rw-r--r--cli/tools/jupyter/server.rs2
-rw-r--r--cli/tools/task.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/jupyter/server.rs b/cli/tools/jupyter/server.rs
index bcfc52212..0cd80f7dd 100644
--- a/cli/tools/jupyter/server.rs
+++ b/cli/tools/jupyter/server.rs
@@ -683,7 +683,7 @@ fn kernel_info() -> messaging::KernelInfoReply {
banner: "Welcome to Deno kernel".to_string(),
help_links: vec![messaging::HelpLink {
text: "Visit Deno manual".to_string(),
- url: "https://deno.land/manual".to_string(),
+ url: "https://docs.deno.com".to_string(),
}],
debugger: false,
error: None,
diff --git a/cli/tools/task.rs b/cli/tools/task.rs
index f559ab9b4..0110d1741 100644
--- a/cli/tools/task.rs
+++ b/cli/tools/task.rs
@@ -35,7 +35,7 @@ pub async fn execute_script(
let cli_options = factory.cli_options()?;
let start_dir = &cli_options.start_dir;
if !start_dir.has_deno_or_pkg_json() {
- bail!("deno task couldn't find deno.json(c). See https://deno.land/manual@v{}/getting_started/configuration_file", env!("CARGO_PKG_VERSION"))
+ bail!("deno task couldn't find deno.json(c). See https://docs.deno.com/go/config")
}
let force_use_pkg_json =
std::env::var_os(crate::task_runner::USE_PKG_JSON_HIDDEN_ENV_VAR_NAME)