diff options
Diffstat (limited to 'src/ninja.cc')
-rw-r--r-- | src/ninja.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index 15e265b..a381e83 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -763,7 +763,7 @@ bool DebugEnable(const string& name) { " explain explain what caused a command to execute\n" " keeprsp don't delete @response files on success\n" #ifdef _WIN32 -" nowinstatcache don't batch stat() calls per directory and cache them\n" +" nostatcache don't batch stat() calls per directory and cache them\n" #endif "multiple modes can be enabled via -d FOO -d BAR\n"); return false; @@ -776,13 +776,13 @@ bool DebugEnable(const string& name) { } else if (name == "keeprsp") { g_keep_rsp = true; return true; - } else if (name == "nowinstatcache") { - g_experimental_win_statcache = false; + } else if (name == "nostatcache") { + g_experimental_statcache = false; return true; } else { const char* suggestion = SpellcheckString(name.c_str(), "stats", "explain", "keeprsp", - "nowinstatcache", NULL); + "nostatcache", NULL); if (suggestion) { Error("unknown debug setting '%s', did you mean '%s'?", name.c_str(), suggestion); @@ -891,7 +891,7 @@ int NinjaMain::RunBuild(int argc, char** argv) { return 1; } - disk_interface_.AllowStatCache(g_experimental_win_statcache); + disk_interface_.AllowStatCache(g_experimental_statcache); Builder builder(&state_, config_, &build_log_, &deps_log_, &disk_interface_); for (size_t i = 0; i < targets.size(); ++i) { |