diff --git a/doc/api/cli.md b/doc/api/cli.md index f56eb981a986e4..79f2dcd2ba4596 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -134,19 +134,6 @@ added: v6.0.0 Enable FIPS-compliant crypto at startup. (Requires Node.js to be built with `./configure --openssl-fips`.) -### `--entry-type=type` - - -Used with `--experimental-modules`, this configures Node.js to interpret the -initial entry point as CommonJS or as an ES module. - -Valid values are `"commonjs"` and `"module"`. The default is to infer from -the file extension and the `"type"` field in the nearest parent `package.json`. - -Works for executing a file as well as `--eval`, `--print`, `STDIN`. - ### `--es-module-specifier-resolution=mode` + +Used with `--experimental-modules`, this configures Node.js to interpret string +input as CommonJS or as an ES module. String input is input via `--eval`, +`--print`, or `STDIN`. + +Valid values are `"commonjs"` and `"module"`. The default is `"commonjs"`. + ### `--inspect-brk[=[host:]port]`