summaryrefslogtreecommitdiff
path: root/cli/args/flags.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-01-25 05:03:03 +0100
committerGitHub <noreply@github.com>2023-01-25 05:03:03 +0100
commitf3711f28f4b5ddfd9a11d9952b0a33b75fc5bc9c (patch)
treee20562103e9d3a5aa3b47126bea1a773072792fe /cli/args/flags.rs
parent900929f65c94585de713cb8864aacb5fdc065759 (diff)
feat(cli): add `DENO_V8_FLAGS` env var (#17313)
Closes #5669
Diffstat (limited to 'cli/args/flags.rs')
-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 a5aff3d09..9f7b9206f 100644
--- a/cli/args/flags.rs
+++ b/cli/args/flags.rs
@@ -545,6 +545,7 @@ static ENV_VARIABLES_HELP: &str = r#"ENVIRONMENT VARIABLES:
(alternative to passing --no-prompt on invocation)
DENO_NO_UPDATE_CHECK Set to disable checking if a newer Deno version is
available
+ DENO_V8_FLAGS Set V8 command line options
DENO_WEBGPU_TRACE Directory to use for wgpu traces
DENO_JOBS Number of parallel workers used for the --parallel
flag with the test subcommand. Defaults to number
@@ -2115,7 +2116,8 @@ fn v8_flags_arg<'a>() -> Arg<'a> {
.use_value_delimiter(true)
.require_equals(true)
.help("Set V8 command line options")
- .long_help("To see a list of all available flags use --v8-flags=--help.")
+ .long_help("To see a list of all available flags use --v8-flags=--help.\
+ Any flags set with this flag are appended after the DENO_V8_FLAGS environmental variable")
}
fn seed_arg<'a>() -> Arg<'a> {