0
0
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:
Myles Borins 2020-04-18 11:27:54 -04:00
parent 438514d36a
commit 46ec9ab7d8
No known key found for this signature in database
GPG Key ID: 933B01F40B5CA946
2 changed files with 1 additions and 4 deletions

View File

@ -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.
.

View File

@ -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",