Skip to content
Snippets Groups Projects
Commit 21b0b5f8 authored by David Flitney's avatar David Flitney
Browse files

Added support for hidden options through subclassing Option class.

parent a8f030d3
No related branches found
No related tags found
No related merge requests found
......@@ -260,6 +260,13 @@ namespace Utilities {
unsigned int valuevec_size_;
};
template<class T> class HiddenOption: public Option<T>
{
public:
HiddenOption(const string& k, const T& v, const string& ht,
bool c, ArgFlag f = no_argument):
Option<T>(k, v, ht, c, f), { visible_ = false; }
};
/**
A class for parsing command line arguments into Option objects. The
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment