mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
module: partial doc removal of --experimental-modules
This removes `--experimental-modules` from showing up in `node -h` and also removes the documentation from the man pages. It will still work as a no-op, and is still included in cli.md Refs: https://github.com/nodejs/modules/issues/502 PR-URL: https://github.com/nodejs/node/pull/32915 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
438514d36a
commit
46ec9ab7d8
@ -132,9 +132,6 @@ Specify the
|
||||
.Ar module
|
||||
to use as a custom module loader.
|
||||
.
|
||||
.It Fl -experimental-modules
|
||||
Enable experimental latest experimental modules features.
|
||||
.
|
||||
.It Fl -experimental-policy
|
||||
Use the specified file as a security policy.
|
||||
.
|
||||
|
@ -285,7 +285,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
|
||||
kAllowedInEnvironment);
|
||||
AddAlias("--loader", "--experimental-loader");
|
||||
AddOption("--experimental-modules",
|
||||
"experimental modules features",
|
||||
"",
|
||||
&EnvironmentOptions::experimental_modules,
|
||||
kAllowedInEnvironment);
|
||||
AddOption("--experimental-wasm-modules",
|
||||
|
Loading…
Reference in New Issue
Block a user