summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2024-09-10 06:09:06 -0700
committerGitHub <noreply@github.com>2024-09-10 13:09:06 +0000
commitbe5419d479fcae16c8a07dec00ce11b532b7996a (patch)
tree8e37a6fdf5cbb5039935ea3aab896cdf79123d09
parentc2f97494f770dc36c0cacdb839f953b00e916e2c (diff)
fix: add link to env var docs (#25557)
-rw-r--r--cli/args/flags.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/args/flags.rs b/cli/args/flags.rs
index 8e62152da..fbf58fff2 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -1122,6 +1122,8 @@ impl Flags {
static ENV_VARIABLES_HELP: &str = cstr!(
r#"<y>Environment variables:</>
+<y>Docs:</> <c>https://docs.deno.com/go/env-vars</>
+
<g>DENO_AUTH_TOKENS</> A semi-colon separated list of bearer tokens and hostnames
to use when fetching remote modules from private repositories
<p(245)>(e.g. "abcde12345@deno.land;54321edcba@github.com")</>
@@ -3152,7 +3154,7 @@ fn compile_args_without_check_args(app: Command) -> Command {
fn permission_args(app: Command, requires: Option<&'static str>) -> Command {
app
.after_help(cstr!(r#"<y>Permission options:</>
-Docs: <c>https://docs.deno.com/go/permissions</>
+<y>Docs</>: <c>https://docs.deno.com/go/permissions</>
<g>-A, --allow-all</> Allow all permissions.
<g>--no-prompt</> Always throw if required permission wasn't passed.