diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-05 09:41:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-08 12:51:00 +0200 |
commit | 01d848149c22a69a62eada5fedc2406c54d95ba8 (patch) | |
tree | 66a3b59619f32f7f7244200f810f4d4cc9115ca5 /build2/b-options.ixx | |
parent | 3392226a2248b5cd93a899afb986917ce9e7ad74 (diff) |
Support for --dry-run|-n mode, perform update part
Diffstat (limited to 'build2/b-options.ixx')
-rw-r--r-- | build2/b-options.ixx | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/build2/b-options.ixx b/build2/b-options.ixx index b05ed66..9b7a8ad 100644 --- a/build2/b-options.ixx +++ b/build2/b-options.ixx @@ -244,18 +244,6 @@ namespace build2 } inline const bool& options:: - progress () const - { - return this->progress_; - } - - inline const bool& options:: - no_progress () const - { - return this->no_progress_; - } - - inline const bool& options:: quiet () const { return this->quiet_; @@ -291,6 +279,18 @@ namespace build2 return this->dump_specified_; } + inline const bool& options:: + progress () const + { + return this->progress_; + } + + inline const bool& options:: + no_progress () const + { + return this->no_progress_; + } + inline const size_t& options:: jobs () const { @@ -346,15 +346,15 @@ namespace build2 } inline const bool& options:: - mtime_check () const + dry_run () const { - return this->mtime_check_; + return this->dry_run_; } inline const bool& options:: - no_mtime_check () const + match_only () const { - return this->no_mtime_check_; + return this->match_only_; } inline const bool& options:: @@ -364,9 +364,15 @@ namespace build2 } inline const bool& options:: - match_only () const + mtime_check () const { - return this->match_only_; + return this->mtime_check_; + } + + inline const bool& options:: + no_mtime_check () const + { + return this->no_mtime_check_; } inline const bool& options:: |