aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx
index 74dc7a2..bb7ec41 100644
--- a/build2/b.cxx
+++ b/build2/b.cxx
@@ -327,7 +327,10 @@ main (int argc, char* argv[])
// Validate options.
//
if (ops.progress () && ops.no_progress ())
- fail << "inconsistent progress display options";
+ fail << "both --progress and --no-progress specified";
+
+ if (ops.mtime_check () && ops.no_mtime_check ())
+ fail << "both --mtime-check and --no-mtime-check specified";
// Global initializations.
//