From 5278e39d58007b730e452a14d8e13aa93118e9f4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 11 Feb 2020 12:05:19 +0200 Subject: Add match_only flag to context --- libbuild2/context.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/context.hxx') diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index 62a02cc..a2bfe3d 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -142,6 +142,10 @@ namespace build2 scheduler& sched; global_mutexes& mutexes; + // Match only flag (see --match-only but also dist). + // + bool match_only; + // Dry run flag (see --dry-run|-n). // // This flag is set (based on dry_run_option) only for the final execute @@ -436,6 +440,7 @@ namespace build2 explicit context (scheduler&, global_mutexes&, + bool match_only = false, bool dry_run = false, bool keep_going = true, const strings& cmd_vars = {}, -- cgit v1.1