From 01d848149c22a69a62eada5fedc2406c54d95ba8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 5 Apr 2019 09:41:18 +0200 Subject: Support for --dry-run|-n mode, perform update part --- build2/b-options.ixx | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'build2/b-options.ixx') 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:: -- cgit v1.1