From c87d7d70b3f2a29633eac6411d9caf994791687b Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 11 Jun 2015 19:30:19 +1000 Subject: [PATCH] cmdopt: silence unused description param for now --- cmdopt.ipp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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;