summaryrefslogtreecommitdiff
path: root/src/node_options.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_options.cc')
-rw-r--r--src/node_options.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_options.cc b/src/node_options.cc
index 8a88902513..005f0d2e1e 100644
--- a/src/node_options.cc
+++ b/src/node_options.cc
@@ -385,6 +385,10 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
"silence all process warnings",
&EnvironmentOptions::no_warnings,
kAllowedInEnvironment);
+ AddOption("--force-context-aware",
+ "disable loading non-context-aware addons",
+ &EnvironmentOptions::force_context_aware,
+ kAllowedInEnvironment);
AddOption("--pending-deprecation",
"emit pending deprecation warnings",
&EnvironmentOptions::pending_deprecation,