diff options
author | Luca Casonato <hello@lcas.dev> | 2024-08-19 00:39:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-18 15:39:53 -0700 |
commit | 9bc2dd29ad6ba334fd57a20114e367d3c04763d4 (patch) | |
tree | 4de8b2750eb7b56656a1f601339ca3172b168eb1 /cli/tools/task.rs | |
parent | 1ec12a8c5dc95b88d136b1a8faa380be70ee7ced (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/task.rs')
-rw-r--r-- | cli/tools/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |