diff --git a/doc/api/cli.md b/doc/api/cli.md index f87b2476e0f6a6..3ab4750d8d62e9 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -598,6 +598,15 @@ added: v7.10.0 This option is a no-op. It is kept for compatibility. +### `--no-addons` + + +Disable the `node-addons` exports condition as well as disable loading +native addons. When `--no-addons` is specified, calling `process.dlopen` or +requiring a native C++ addon will fail and throw an exception. + ### `--no-deprecation` + +Loading native addons has been disabled using [`--no-addons`][]. + ### `ERR_DLOPEN_FAILED`