diff options
Diffstat (limited to 'src/support/command-line.h')
-rw-r--r-- | src/support/command-line.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/support/command-line.h b/src/support/command-line.h index 99d98eec9..19b2546d9 100644 --- a/src/support/command-line.h +++ b/src/support/command-line.h @@ -57,7 +57,8 @@ public: const std::string& shortName, const std::string& description, Arguments arguments, - const Action& action); + const Action& action, + bool hidden = false); Options& add_positional(const std::string& name, Arguments arguments, const Action& action); @@ -70,6 +71,7 @@ private: std::string description; Arguments arguments; Action action; + bool hidden; size_t seen; }; std::vector<Option> options; |