aboutsummaryrefslogtreecommitdiff
path: root/build2/operation.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-24 11:25:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-24 11:25:05 +0200
commit2ad6aa134d9e8e755c8c738d0b51d72b0851c212 (patch)
tree9d914797975e61350d41c9fdb71ee008b2aacdfc /build2/operation.cxx
parent85399cf60764b0fe54d44d4a5bacb54feae8dd62 (diff)
Constrain access to options to build system driver main() only
Diffstat (limited to 'build2/operation.cxx')
-rw-r--r--build2/operation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/operation.cxx b/build2/operation.cxx
index 9bc8a4e..0144e51 100644
--- a/build2/operation.cxx
+++ b/build2/operation.cxx
@@ -271,7 +271,7 @@ namespace build2
// Set the dry-run flag.
//
- dry_run = ops.dry_run ();
+ dry_run = dry_run_option;
// Setup progress reporting if requested.
//