diff --git a/doc/api/cli.md b/doc/api/cli.md index e3294958f8c1d8..7c0d5e88d4d640 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -595,6 +595,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`