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.hxx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'cli/cli/options.hxx') diff --git a/cli/cli/options.hxx b/cli/cli/options.hxx index b253092..b54d81f 100644 --- a/cli/cli/options.hxx +++ b/cli/cli/options.hxx @@ -400,6 +400,8 @@ namespace cli #include +#include + #include class options @@ -441,14 +443,20 @@ class options // Option accessors and modifiers. // - const bool& + const std::uint64_t& build2_metadata () const; - bool& + std::uint64_t& build2_metadata (); void - build2_metadata (const bool&); + build2_metadata (const std::uint64_t&); + + bool + build2_metadata_specified () const; + + void + build2_metadata_specified (bool); const bool& help () const; @@ -1489,7 +1497,8 @@ class options ::cli::unknown_mode argument); public: - bool build2_metadata_; + std::uint64_t build2_metadata_; + bool build2_metadata_specified_; bool help_; bool version_; std::vector include_path_; -- cgit v1.1