aboutsummaryrefslogtreecommitdiff
path: root/build/options
diff options
context:
space:
mode:
Diffstat (limited to 'build/options')
-rw-r--r--build/options12
1 files changed, 10 insertions, 2 deletions
diff --git a/build/options b/build/options
index c0b9930..a2fea2c 100644
--- a/build/options
+++ b/build/options
@@ -208,6 +208,8 @@ namespace cl
class options
{
public:
+ options ();
+
options (int& argc,
char** argv,
bool erase = false,
@@ -240,8 +242,6 @@ class options
::cl::unknown_mode option = ::cl::unknown_mode::fail,
::cl::unknown_mode argument = ::cl::unknown_mode::stop);
- options ();
-
// Option accessors.
//
const bool&
@@ -253,9 +253,15 @@ class options
const bool&
v () const;
+ const bool&
+ q () const;
+
const std::uint16_t&
verbose () const;
+ bool
+ verbose_specified () const;
+
// Print usage information.
//
static void
@@ -277,7 +283,9 @@ class options
bool help_;
bool version_;
bool v_;
+ bool q_;
std::uint16_t verbose_;
+ bool verbose_specified_;
};
#include <build/options.ixx>