From 4bbb90782628d40cd52e03e078611ad38cd74936 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 22 Apr 2020 12:50:14 +0200 Subject: Update metadata protocol --- cli/cli/options.ixx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'cli/cli/options.ixx') diff --git a/cli/cli/options.ixx b/cli/cli/options.ixx index 12d40db..5916883 100644 --- a/cli/cli/options.ixx +++ b/cli/cli/options.ixx @@ -255,24 +255,36 @@ namespace cli // options // -inline const bool& options:: +inline const std::uint64_t& options:: build2_metadata () const { return this->build2_metadata_; } -inline bool& options:: +inline std::uint64_t& options:: build2_metadata () { return this->build2_metadata_; } inline void options:: -build2_metadata(const bool& x) +build2_metadata(const std::uint64_t& x) { this->build2_metadata_ = x; } +inline bool options:: +build2_metadata_specified () const +{ + return this->build2_metadata_specified_; +} + +inline void options:: +build2_metadata_specified(bool x) +{ + this->build2_metadata_specified_ = x; +} + inline const bool& options:: help () const { -- cgit v1.1