aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-04-05 09:41:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-04-08 12:51:00 +0200
commit01d848149c22a69a62eada5fedc2406c54d95ba8 (patch)
tree66a3b59619f32f7f7244200f810f4d4cc9115ca5 /build2/b-options.hxx
parent3392226a2248b5cd93a899afb986917ce9e7ad74 (diff)
Support for --dry-run|-n mode, perform update part
Diffstat (limited to 'build2/b-options.hxx')
-rw-r--r--build2/b-options.hxx30
1 files changed, 17 insertions, 13 deletions
diff --git a/build2/b-options.hxx b/build2/b-options.hxx
index 94a87ab..45666aa 100644
--- a/build2/b-options.hxx
+++ b/build2/b-options.hxx
@@ -422,12 +422,6 @@ namespace build2
V () const;
const bool&
- progress () const;
-
- const bool&
- no_progress () const;
-
- const bool&
quiet () const;
const uint16_t&
@@ -445,6 +439,12 @@ namespace build2
bool
dump_specified () const;
+ const bool&
+ progress () const;
+
+ const bool&
+ no_progress () const;
+
const size_t&
jobs () const;
@@ -473,16 +473,19 @@ namespace build2
serial_stop () const;
const bool&
- mtime_check () const;
+ dry_run () const;
const bool&
- no_mtime_check () const;
+ match_only () const;
const bool&
structured_result () const;
const bool&
- match_only () const;
+ mtime_check () const;
+
+ const bool&
+ no_mtime_check () const;
const bool&
no_column () const;
@@ -547,14 +550,14 @@ namespace build2
public:
bool v_;
bool V_;
- bool progress_;
- bool no_progress_;
bool quiet_;
uint16_t verbose_;
bool verbose_specified_;
bool stat_;
std::set<string> dump_;
bool dump_specified_;
+ bool progress_;
+ bool no_progress_;
size_t jobs_;
bool jobs_specified_;
size_t max_jobs_;
@@ -564,10 +567,11 @@ namespace build2
size_t max_stack_;
bool max_stack_specified_;
bool serial_stop_;
+ bool dry_run_;
+ bool match_only_;
+ bool structured_result_;
bool mtime_check_;
bool no_mtime_check_;
- bool structured_result_;
- bool match_only_;
bool no_column_;
bool no_line_;
path buildfile_;