fix: add `DENO_FUTURE` to `deno --help` (#23368)

This commit is contained in:
Asher Gomez 2024-04-17 02:58:48 +10:00 committed by GitHub
parent 1e26508579
commit 534dd34f86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 10 deletions

View File

@ -932,9 +932,8 @@ static ENV_VARIABLES_HELP: &str = color_print::cstr!(
private repositories
(e.g. "abcde12345@deno.land;54321edcba@github.com")
<g>DENO_TLS_CA_STORE</> Comma-separated list of order dependent certificate
stores. Possible values: "system", "mozilla".
Defaults to "mozilla".
<g>DENO_FUTURE</> Set to "1" to enable APIs that will take effect in
Deno 2
<g>DENO_CERT</> Load certificate authority from PEM encoded file
@ -943,6 +942,10 @@ static ENV_VARIABLES_HELP: &str = color_print::cstr!(
<g>DENO_INSTALL_ROOT</> Set deno install's output directory
(defaults to $HOME/.deno/bin)
<g>DENO_JOBS</> Number of parallel workers used for the --parallel
flag with the test subcommand. Defaults to number
of available CPUs.
<g>DENO_REPL_HISTORY</> Set REPL history file path
History file is disabled when the value is empty
(defaults to $DENO_DIR/deno_history.txt)
@ -955,26 +958,26 @@ static ENV_VARIABLES_HELP: &str = color_print::cstr!(
<g>DENO_NO_UPDATE_CHECK</> Set to disable checking if a newer Deno version is
available
<g>DENO_TLS_CA_STORE</> Comma-separated list of order dependent certificate
stores. Possible values: "system", "mozilla".
Defaults to "mozilla".
<g>DENO_V8_FLAGS</> Set V8 command line options
<g>DENO_WEBGPU_TRACE</> Directory to use for wgpu traces
<g>DENO_JOBS</> Number of parallel workers used for the --parallel
flag with the test subcommand. Defaults to number
of available CPUs.
<g>HTTP_PROXY</> Proxy address for HTTP requests
(module downloads, fetch)
<g>HTTPS_PROXY</> Proxy address for HTTPS requests
(module downloads, fetch)
<g>NPM_CONFIG_REGISTRY</> URL to use for the npm registry.
<g>NO_COLOR</> Set to disable color
<g>NO_PROXY</> Comma-separated list of hosts which do not use a proxy
(module downloads, fetch)"#
(module downloads, fetch)
<g>NPM_CONFIG_REGISTRY</> URL to use for the npm registry."#
);
static DENO_HELP: &str = concat!(