diff --git a/cmdopt.ipp b/cmdopt.ipp index 8a041c28..d0489a2d 100644 --- a/cmdopt.ipp +++ b/cmdopt.ipp @@ -72,8 +72,14 @@ namespace util { namespace cmdopt { /////////////////////////////////////////////////////////////////////////// template 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 (longname, std::forward (args)...); T& ref = *handler;