diff --git a/doc/api/cli.md b/doc/api/cli.md index c657a0715e19b1..478e831dfe67c4 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -587,6 +587,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`