cmdopt: silence unused description param for now
This commit is contained in:
parent
eabe3e3a3f
commit
c87d7d70b3
@ -72,8 +72,14 @@ namespace util { namespace cmdopt {
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
template <typename T, typename ...Args>
|
template <typename T, typename ...Args>
|
||||||
T&
|
T&
|
||||||
parser::add (char shortname, std::string longname, std::string description, Args&&... args)
|
parser::add (char shortname,
|
||||||
|
std::string longname,
|
||||||
|
std::string description,
|
||||||
|
Args&&... args)
|
||||||
{
|
{
|
||||||
|
// TODO: make use of the description with the help option
|
||||||
|
(void)description;
|
||||||
|
|
||||||
auto handler = std::make_unique<T> (longname, std::forward<Args> (args)...);
|
auto handler = std::make_unique<T> (longname, std::forward<Args> (args)...);
|
||||||
T& ref = *handler;
|
T& ref = *handler;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user