diff options
author | Myles Borins <mylesborins@google.com> | 2020-04-18 18:27:54 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-04-21 23:13:11 +0300 |
commit | 46ec9ab7d81f7dac59b2bf9afb67896564b4f586 (patch) | |
tree | f3a3c1b6144c5f38057374dcf3e477c2cd25bb4f /src/node_options.cc | |
parent | 438514d36aa899ee62e760c401564b1ce9314391 (diff) |
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>
Diffstat (limited to 'src/node_options.cc')
-rw-r--r-- | src/node_options.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_options.cc b/src/node_options.cc index 4148cfc04eb..3b9142c19e9 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -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", |