diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-02-11 12:05:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-02-11 12:05:19 +0200 |
commit | 5278e39d58007b730e452a14d8e13aa93118e9f4 (patch) | |
tree | 18e1e2fe0a3cac3adf6c74c4e8118e89c59a8ed2 /libbuild2/context.hxx | |
parent | 364159d8d024a783db44cb0a5b81e94f87f10ef4 (diff) |
Add match_only flag to context
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r-- | libbuild2/context.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
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 = {}, |