Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 94e32707e1c8cf70ba05002ff01c3eaf12bd3a1d..ad35af6c22dac30053251006ed8f9559ec2052af 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1288,7 +1288,7 @@ bool Shell::SetOptions(int argc, char* argv[]) { |
options.use_preemption = true; |
argv[i] = NULL; |
#endif // V8_SHARED |
- } else if (strcmp(argv[i], "--no-preemption") == 0) { |
+ } else if (strcmp(argv[i], "--nopreemption") == 0) { |
#ifdef V8_SHARED |
printf("D8 with shared library does not support multi-threading\n"); |
return false; |