diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-04-22 12:50:14 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-04-27 11:39:53 +0300 |
commit | 4bbb90782628d40cd52e03e078611ad38cd74936 (patch) | |
tree | 7b6d2f1054d0dd20c49b92e895d672111e6175d7 /cli/cli/options.hxx | |
parent | 720c5a33b6a49cf328fdd7611f49153cf8f60247 (diff) |
Update metadata protocol
Diffstat (limited to 'cli/cli/options.hxx')
-rw-r--r-- | cli/cli/options.hxx | 17 |
1 files changed, 13 insertions, 4 deletions
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 <cstddef> +#include <cstdint> + #include <cli/option-types.hxx> 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<std::string> include_path_; |