aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-25 08:13:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-08-25 08:16:23 +0200
commit5ce1f438decd05e01a16445da4703c2193447428 (patch)
tree9e527a029633e52d23b0a66bd8fdfacb71908585 /build2/b-options.cxx
parent5c3af4220dfccfd4c381de575620a41966aa3e4f (diff)
Keep mtime check always enabled on Windows
Windows is known not to guarantee monotonically increasing mtimes.
Diffstat (limited to 'build2/b-options.cxx')
-rw-r--r--build2/b-options.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/build2/b-options.cxx b/build2/b-options.cxx
index 182dfb0..1c59231 100644
--- a/build2/b-options.cxx
+++ b/build2/b-options.cxx
@@ -1226,11 +1226,14 @@ namespace build2
os << std::endl
<< "\033[1m--mtime-check\033[0m Perform file modification time sanity checks. These" << ::std::endl
<< " checks can be helpful in diagnosing spurious rebuilds and" << ::std::endl
- << " are enabled by default for the staged version of the" << ::std::endl
- << " build system. Use \033[1m--no-mtime-check\033[0m to disable." << ::std::endl;
+ << " are enabled by default on Windows (which is known not to" << ::std::endl
+ << " guarantee monotonically increasing mtimes) and for the" << ::std::endl
+ << " staged version of the build system on other platforms." << ::std::endl
+ << " Use \033[1m--no-mtime-check\033[0m to disable." << ::std::endl;
os << std::endl
- << "\033[1m--no-mtime-check\033[0m Don't perform file modification time sanity checks." << ::std::endl;
+ << "\033[1m--no-mtime-check\033[0m Don't perform file modification time sanity checks. See" << ::std::endl
+ << " \033[1m--mtime-check\033[0m for details." << ::std::endl;
os << std::endl
<< "\033[1m--no-column\033[0m Don't print column numbers in diagnostics." << ::std::endl;